Re: mixed compilation
- From: "Nils O. Selåsdal" <noselasd@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 30 Dec 2005 15:29:21 +0100
alex.gman@xxxxxxxxx wrote:
Can you compile an application statically with respect to some libraries and dynamically with respect to others? It seems like this should be doable in theory, but I can't find the required GCC options for that.
e.g. gcc -o myprog myprog.o -Wl,-static -lpcap -ldb -Wl,-Bdynamic -lfoo links statically to libpcap and libdb, dynamically to libfoo .
- References:
- mixed compilation
- From: alex . gman
- mixed compilation
- Prev by Date: Re: x.org dropped imake, now what is the best way to convert existing Imakefile so it can be used with automake et all?
- Next by Date: Re: x.org dropped imake, now what is the best way to convert existing Imakefile so it can be used with automake et all?
- Previous by thread: Re: mixed compilation
- Next by thread: x.org dropped imake, now what is the best way to convert existing Imakefile so it can be used with automake et all?
- Index(es):