gcc -c -fPIC one.c -o one.o gcc -c -fPIC two.c -o two.o gcc -shared one.o teo.o -o libMyLib.so This works for me Dènis Riedijk ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
- building a native library from two .o-files Olof Wolgast
- Denis Riedijk