Click to See Complete Forum and Search --> : .so files
stavefan
05-04-2001, 01:54 PM
Hi all
ok, are .so files the same as .dll files under windows?
If so, does any one know where i can find a tutorial on how to create .so files using C++?
thanks,
stavefan
Pretty much, .so files are shared libraries, .a files are static libraries.
I don't do much programming, but here a couple of suggestions:
As for Linux programming, check out some of the recommended books in the LNO Bookshelf's Development (http://www.linuxnewbie.org/bookshelf/bs-5.html) section.
For info on using gcc (the C/C++ compiler) to compile libraries, try GNU's gcc pages (http://www.gnu.org/software/gcc/).
You might also get more responses if you post this in the Programming forum.
[ 04 May 2001: Message edited by: DMR ]
a .so is a shared library, it can be linked at link time, therefore in the application, or you can link at run time, which would be equal to a .dll.
To create a .so all you have to do is something like this:
gcc -o object.o sourcecode.c
gcc -shared -o object.so object.o