gnu.gcc.help
[Top] [All Lists]

linking of static libs together ??

Subject: linking of static libs together ??
From: vl_ <vlyamtsev@xxxxxxxxx>
Date: Thu, 10 Jul 2008 11:12:30 -0700 (PDT)
Newsgroups: gnu.gcc.help

Hello,
I have makefie that produces 3 '.a' files. Can someone recommend some
simple way of merging them into one static lib? For now I do it
"manually", e.g. use "ar -q 3.a `ls 2/*.o`" to add objects from '2.a'
build directory into 3.a
but is there a way of linking them directly?
Thanks,
-V

<Prev in Thread] Current Thread [Next in Thread>