KDevelop Question

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

 



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@xxxxxxxxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux