[ECOS] how to link sevral *.o file into one *.o?

张 亮 johnsonest@hotmail.com
Mon Oct 28 21:58:00 GMT 2002


Hi,all.
     Assume I have a.o,b.o,c.o,d.o,....
Now I want to get a whole.o

bash>gcc ....?
conditions: maybe functions in a.o will call functions in b.o,c.o,...etc.
question:

1.how to use a(b,c,d,...).o to get the whole.o?

2.how to use a(b,c,d,...)>o to get a lib(eg. libwhole.a)?

could you help me?
THANK YOU VERY MUCH!
BRS/johnsonest

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/lccn/ 


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list