学霸
发布时间:2015-08-10 00:53:22
source file app.c fun.c fun.h(source codes are in the attachment)
----------static library(method 1)
gcc -c fun.c
gcc -c app.c
ar cr -o libfun.a fun.o
gcc -o app app.o -L. -lfun
app size is 7453
ldd app
linux-gate.so.1 => (0xb7792000).........【阅读全文】