<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 10, 2014 at 11:44 AM, Yuras Shumovich <span dir="ltr"><<a href="mailto:shumovichy@gmail.com" target="_blank">shumovichy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ghc-7.6.3 passes additional linker options after all the haskell object<br>
files, while ghc-7.8.1 does the opposite.</blockquote><div>(...) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it intentional change?<br></blockquote><div>
<br></div><div>Pretty sure it is intentional, because it's necessary for some options. ld options are not in general position independent, and can't be.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to compile in a number of static libraries. I have the next line<br>
in my cabal file:<br>
<br>
    ld-options:  ./path/to/libsomething.a<br></blockquote><div><br></div><div>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.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>