[CMake] linker flags for FreeBSD

Alexander Neundorf a.neundorf-work at gmx.net
Sat Jun 4 09:17:44 EDT 2005


Hi, 
 
when creating a shared library on FreeBSD with the flags 
"-Wl,--fatal-warnings -Wl,--no-undefined" 
I get undefined reference to everything from libc. Adding "-lc" helps. So 
shouldn't "-lc" be added automatically on FreeBSD for linking shared libs 
and modules ? 
 
Bye 
Alex 
 

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++


More information about the CMake mailing list