Re: Possible bug with using "-static" and "-dynamic" on the same command

2006-06-22 Thread Nick Clifton
Hi Soeren, I tried to use a newer version of binutils (2.15.94 wich comes as part of a SLES upgrade to SP3 and a freshly self compiled 2.16.1) but both version now show me the following error when trying to compile a shared library: "-static and -shared may not be used together" This is an

Re: Possible bug with using "-static" and "-dynamic" on the same command

2006-06-21 Thread Alan Modra
On Tue, Jun 20, 2006 at 07:29:58PM +0200, Soeren Gerlach wrote: > I don't understand the problem at all. "-shared" means to create a shared > library. On > the other hand "-Bstatic" means to link a library statically into the target. > On my > oppinion (sorry, I'm only an application developer )