bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool, Solaris, Sun Studio compiler


From: Пухальский Юрий Андреевич
Subject: Re: libtool, Solaris, Sun Studio compiler
Date: Mon, 14 Mar 2005 14:13:20 +0300

This looks like the compiler frontend reorders the options, not libtool. Is 
there an option we can pass to /opt/SUNWspro/bin/CC to keep it from reordering?

I've got the answer for Sunforum: 
(http://forum.sun.com/thread.jspa?threadID=23354)

Do not use -Qoption to pass -z options to ld. The driver knows that all -z 
options should be passed to the linker in order. Just write 
 -z allextract test/.libs/libbar.a -z defaultextract 

and you should get the right behavior.

I don't know what else we could do (but I know little about Solaris).
I think libtool should be updated taking this into account.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]