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

Re: linking of static libs together ??

Subject: Re: linking of static libs together ??
From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx>
Date: Thu, 10 Jul 2008 22:41:46 -0700
Newsgroups: gnu.gcc.help

vl_ <vlyamtsev@xxxxxxxxx> writes:

> but is there a way of linking them directly?

Generally, archive libraries aren't linked at all (they are just a collection 
of object files possibl with table of contents), so no, you can't "link them".

What you can do is write correct Makefile, which will archive 1/*.o, 2/*.o 
and 3/*.o into a single combined library (in addition to, or instead of
creating the 3 original libraries).

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

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