package cc and ld opts inconsistent
|Reported by:||as49||Owned by:||simonmar|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
I try to create a package which passes "--subsystem windows" to the linker. As far as I understand it should be ok to have extra_ld_opts = ["--subsystem windows"] or, as ghc itself does it extra_ld_opts = ["--subsystem", "windows"] in the package description. However these flags are not given to the linker. I tried extra_cc_opts = ["-Wl,--subsystem", "-Wl,windows"] but these flags are not passed to the C compiler either. I finally succeeded with extra_ld_opts = ["-Wl,--subsystem", "-Wl,windows"] which I suspect fails when compiling with the native code generator. I am using the MSI of ghc 5.04.2. Axel.
Change History (5)
Note: See TracTickets for help on using tickets.