Bugs item #670756, was opened at 2003-01-19 18:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=670756&group_id=8032

Category: Driver
Group: 5.04.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Simon (as49)
Assigned to: Nobody/Anonymous (nobody)
Summary: package cc and ld opts inconsistent

Initial Comment:
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.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=670756&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to