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

Re: Porting pilotmgr to perl 5.005



> Hi all-
> Can someone help us out here.. Stuart is trying to build perl5.005 Linux
> libs for the pilotmgr page.  We need to make libpisock (from pilot-link)
> be statically linked inside Pilot.so (the perl module).
> 
> Using the Sun compiler I use this:
> EXTRALIBS = -L/usr/local/lib -Bstatic -lpisock -Bdynamic
> LDLOADLIBS = -L/usr/local/lib -Bstatic -lpisock -Bdynamic
> 
> With gcc Stuart tried:
> EXTRALIBS = -L/usr/local/lib -static -lpisock
> LDLOADLIBS = -L/usr/local/lib -static -lpisock
> 
> but the resulting file is still dynamically linked:
> 

> Any ideas?
> 

What about gcc ... -L... libpisock.a ?
Or gcc ... -L... -Wl,-Bstatic -lpisock (which would link everything 
statically).

HTH, Bodo
-- 
Bodo Bellut          bodo@xxxxxxxxxxxxxxxx   |     USE PGP!       +-----------+
Klosterstr. 7                                | (key via server    |\  O---m  /|
44135 Dortmund       Fon: +49-231-5860337    |  or on request)    |/---------\|
PGP: 768/FA18A639 AE 5A 47 40 5A A0 D6 15  8E 54 44 AA 8D DD 6E BD+-----------+



SourceForge.net Logo