Re: [gnet] linker flags in gnet-2.0.pc in gnet-2.0.3



Ok, I'm reverting this change.  This was to fix GNet on Solaris.  

Could someone with Solaris help me out here?

David


On Wed, 2003-07-16 at 08:06, Tim Muller wrote:
> Hi,
> 
> it appears that a new linker flag -R/path/to/lib were added to gnet-2.0.pc, 
> changed from how it was in gnet-2.0.2.
> 
> 
> devhost [tim] - ~ ---> pkg-config --libs gnet-2.0
> -R/usr/local/lib -pthread -L/usr/local/lib -lgnet-2.0 -lgthread-2.0 -lglib-2.0
> 
> 
> I was wondering what reasons there are for this change. 
> 
> Doesn't this mean, that the -R parameter overrides the LD_* environment 
> variables, so that I can't test a binary with different gnet-versions without 
> relinking?
> 
> gcc-3.3.1 and some other gcc versions complain about it like this:
>    gcc: unrecognized option `-R/usr/lib'
> 
> Any plans to change this back? It seems to irritate people who compile 
> packages linking against gnet ;-)
> 
> Cheers
> -Tim
> 
> _______________________________________________
> gnet mailing list
> gnet gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet
-- 
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder




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