KDevelop 2.1 linker: Static flag does not work
From: Erik Bollow (e.bollowDELETE-THIS_at_web.de)
Date: 10/30/03
- Next message: Michel Bardiaux: "Re: SMP processor management"
- Previous message: Michael Fuhr: "Re: libpcap problem (hdr.len vs tcpdump file size)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 08:49:10 GMT
Hello everybody,
I encountered a little problem using KDevelop 2.1 when I tried to link
libriaries statically. At the linker options there is an appropriate
check box which I activated, but this didn't work: The resulting
executable still needed the dynamic libraries.
It works fine doing it by hand: Using the object files generated by
KDevelop and giving
g++ *.o -static -lsomelib -o somefile
at command line generates a stand alone executable as desired.
The '-static' flag appears in the compile and link messages of
KDevelop; but that system uses the 'libtool' script to link the object
files. I haven't analized it yet, but the problem may be there.
I'm new in using KDevelop, so maybe this is a trivial problem...
Thanks in advance!
Bye,
Erik
- Next message: Michel Bardiaux: "Re: SMP processor management"
- Previous message: Michael Fuhr: "Re: libpcap problem (hdr.len vs tcpdump file size)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|