HOWTO - Creating a static lib from objects and other static libs?

2008-03-18 Thread muni2773
Folks I am trying to embed a static lib in a new lib that I am creating with more objects my command is ar rcs libnew.a a.o b.o oldlib1.a oldlib2.a This succeeds but when I link against this new library the symbols from the old lib are missing Thanks Muni -- View this message in context: h

Re: HOWTO - Creating a static lib from objects and other static libs?

2008-03-18 Thread Vamsi Krishna
This is not a bug. Just extract all your lib*.a library files find . -name "*.a" -exec ar x \{\} \; -print ar rc libnew.a *.o HTH, Vamsi Kundeti. On Tue, Mar 18, 2008 at 6:05 PM, muni2773 <[EMAIL PROTECTED]> wrote: > > Folks I am trying to embed a static lib in a new lib that I am creating wit