This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Advice requested: how big can we be?


Hi,

On Tue, 16 Sep 2003, Andrew Haley wrote:

>  > I don't know gcj, but what about to divide one lib into several for
>  > example following root packages? i.e. libgcjjavanet, libgcjjavalang,
>  > libgcjjavautil etc.
>
> We could do that.  It would be a bit cumbersome, so I'm not keen on
> the idea.  I see the advantage, though.

AFAI understand you basically use libtool, don't you?  In that case you
want to use convenience libraries, and they aren't difficult to use at
all.  For instance separate each toplevel dir in libjave/ into one
convenience lib, and use those to link together the full libjava.  That of
course puts more stress to the linker than just compiling the whole thing
to one object, but if you can build everything to one object, you also can
build every of the six subdirs (or subsubdirs) to one object and only link
those six or sixty objects into the lib.


Ciao,
Michael.


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