This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problems compiling GCC 3.4.3 and libgcj
- From: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>
- To: java at gcc dot gnu dot org
- Date: Thu, 03 Mar 2005 20:37:01 +0100
- Subject: Re: Problems compiling GCC 3.4.3 and libgcj
- References: <236386960.1109618480219.JavaMail.osg@osgjas04.cns.ufl.edu> <16931.29107.1770.592565@cuddles.cambridge.redhat.com>
> I am trying to get GCC 3.4.3 compiled into a relatively small
> footprint (< 200 Mb), so I can use it on my targets. I only want
> c, c++ and java installed. I downloaded the gcc-core .tar and ran
> the make and make install on that and successfully installed it on
> my target machine, taking up approximately 40MB. When I build the
> core along with c++ and java, my libraries such as libgcj.a come
> out to be over 100MB! Compared to a 20MB libgcj on my Fedora 3
> machines.
Should you instead look at the size of libgcj.so?
This is probably way smaller than the .a-file...
And as Andrew suggests - strip it - it will shrink to 1/3 of the size...
--disable-multilib is a good idea.
What does this actually do?
// Martin