-optl behavior in ghc-7.8.1
allbery.b at gmail.com
Thu Apr 10 15:54:45 UTC 2014
On Thu, Apr 10, 2014 at 11:44 AM, Yuras Shumovich <shumovichy at gmail.com>wrote:
> ghc-7.6.3 passes additional linker options after all the haskell object
> files, while ghc-7.8.1 does the opposite.
> Is it intentional change?
Pretty sure it is intentional, because it's necessary for some options. ld
options are not in general position independent, and can't be.
I want to compile in a number of static libraries. I have the next line
> in my cabal file:
> ld-options: ./path/to/libsomething.a
You're abusing ld-options. Use extra-libraries for this; if it doesn't work
then you have found another bug and should file it as such.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users