This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to link sevral *.o file into one *.o?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]