KDevelop Question
Adam Voigt
adam at kotisprop.com
Thu Mar 18 15:55:02 UTC 2004
After the recent discussion on C++ IDE's, I thought I'd try out KDevelop
(I normally use the command line), and I'm having some problems getting
a program to compile (which works perfectly fine from the command line
compile).
Basically, the command I would use to compile it from the terminal is:
gcc -I/usr/local/postgresql_7.4.2/include
-L/usr/local/postgresql_7.4.2/lib
-I/usr/local/mysql_4.0.17/include/mysql
-L/usr/local/mysql_4.0.17/lib/mysql main.c -Wl,-Bstatic -lmysqlclient
-lpq -Wl,-Bdynamic -lcrypt -lz
That would compile the PostgreSQL and MySQL client libraries statically,
and everything else dynamically, which is what I want.
However, I can't seem to make KDevelop compile those two libraries
statically. Under Project->Options, I've tried changing the Linker
Flags, checking the "prevent using shared libraries" box, editing the
Linker Options section, etc.
Anyone got any ideas?
--
Adam Voigt
adam at kotisprop.com
More information about the fedora-list
mailing list