目前分類:GCC (3)
- Feb 22 Tue 2011 10:24
gcc對ARM core的支援
- Dec 02 Wed 2009 14:03
Generate dependencies by using GCC
- Nov 30 Mon 2009 23:05
How to compile a shared library with GCC
$ gcc -fPIC -c *.c
$ gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1.0 *.o
$ gcc -fPIC -c *.c
$ gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1.0 *.o