[Top][All Lists]

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

static linking with libc

From: Karsten Fuhrmann
Subject: static linking with libc
Date: Thu, 17 Mar 2005 15:16:02 +0100

Hello, everybody.

I am trying to build a GNUstep Application which should be statically linked against the libc but dynamically against all other libs (e.g. lgnustep-base ...) i used.
I tried to do it with this line in my GNUmakefile

ADDITIONAL_LDFLAGS = -Bstatic -lc -Bdynamic

but it is still linked dynamicly against all libs even libc.
The only difference which i discovered using the above linker options is a different order of the libs in the ldd(1) output.
Is there another way to achieve my goal, or is it imposible to do?

Karsten Fuhrmann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]