curl-users
Re: build problems on solaris...
Date: Thu, 22 Aug 2002 18:17:26 -0600
Rob Andrews <rob_at_cyberpunkz.org> wrote:
> As I had already responded in private message.
>
> The default ld in Solaris is for the Sun version of cc. Therefore
> the correct way to fix this problem if you are using gcc to compile
> curl on solaris is to define gld as the linker instead of ld or
> to remove ld from the system altogether and to create a link to
> gld for ld. This is the only correct solution for this problem
> as you do not use the sun ld with gcc at any time since it breaks
> software compiled on the system.
>
> Sorry but your fix is completely incorrect. This has been an ongoing
> problem as Solaris takes on more GNU based software into the core
> install.
>
A good pseudo fix would be to libtool, in the top of the curl directory:
GLD=`which gld`;
if [ -n $GLD ]; then
LD=$GLD;
else
LD=/usr/ccs/bin/ld;
fi;
james
___________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.co.uk
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-23