[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOWTO - Creating a static lib from objects and other static libs?
From: |
Vamsi Krishna |
Subject: |
Re: HOWTO - Creating a static lib from objects and other static libs? |
Date: |
Tue, 18 Mar 2008 18:11:13 -0400 |
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 <address@hidden> wrote:
>
> 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:
> http://www.nabble.com/HOWTO---Creating-a-static-lib-from-objects-and-other-static-libs--tp16131045p16131045.html
> Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> bug-binutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-binutils
>
--
Sincerely,
Vamsi