This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 Merge libraries using ar?


I would like to merge the contents of two libraries like:

ar rc l1.a o1.o o2.o ...
ar rc l2.a o3.o o4.o ...
ar rc l3.a l1.a l2.a

But this makes l3.a an archive containing two archives. 

Is there any way to do this?

 / Christoffer Gurell



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