[Thread Prev][Thread Next][Thread Index]
Re: Porting pilotmgr to perl 5.005
- To: Alan Harder <Alan.Harder@xxxxxxxxxxxx>
- Subject: Re: Porting pilotmgr to perl 5.005
- From: Bodo Bellut <bodo@xxxxxxxxxxxxxxxx>
- Date: Wed, 23 Jun 1999 22:01:05 +0200
- Cc: pilotmgr@xxxxxxxxxxxxxxxxxxxx, s-luppescu@xxxxxxxxxxxx
- In-reply-to: Your message of "Tue, 22 Jun 1999 17:05:04 PDT." <199906230005.RAA09243@moshpit.EBay.Sun.COM>
> 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+-----------+