Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: robertha on March 22, 2008, 12:35:19 pm
-
Hello
I'm using Code::Blocks 8.02 and made a dynamic library. But when I build the Project, CB creates only a .so file, not a .a file for including in the project.... I checked "create import library" in build targets, but it doesn't work...
Has anybody an idea what i'm doing wrong?
Im using Fedora 8, just in case...
Thanks
Bob
-
IIRC, Linux uses .a only for static linking, and .so for dynamic linking. Creating an import library would be useless because you link against the .so directly. I've never heard about linking against a .a library for dynamic linking on Linux.
-
Thanks, I didn't know that... I'm coming from the Windows world, porting my first app to linux ...