This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Don't make zlib unless enable-languages=java
- To: "Kelley Cook" <Kelley dot Cook at home dot com>
- Subject: Re: [Patch] Don't make zlib unless enable-languages=java
- From: Tom Tromey <tromey at redhat dot com>
- Date: 04 Apr 2001 09:23:57 -0600
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- References: <20010403152213.OHBI9995.femail17.sdc1.sfba.home.com@C265292-A>
- Reply-To: tromey at redhat dot com
>>>>> "Kelley" == Kelley Cook <Kelley.Cook@home.com> writes:
Kelley> Regardless, zlib certainly shouldn't be built before GCC 3.x
Kelley> is built, which is what currently occurs.
zlib is needed by gcj. If you aren't building gcj then I agree that
building zlib is not necessary. However, I think your patch will
break gcj builds.
I think you're probably confusing `all-zlib' and `all-target-zlib'.
The former builds a host zlib. The latter build the target zlib which
is used by libjava.
Kelley> As a side note, why is zlib included in the GCC sources.
Kelley> Shouldn't it just be a pre-installation requirement for
Kelley> building libjava (like texinfo is for creating the info
Kelley> files)?
zlib is required for both the host and the target. You'll have
bootstrapping problems if it isn't in the tree. Also, there is a
tradeoff involved. I wanted to include it because I think it isn't
very common to have it preinstalled, and forcing people to install it
to get the Java compiler would probably just mean that fewer people
would build that compiler.
Tom