[PATCH] Don't build libzgcj all the time

DJ Delorie dj@redhat.com
Tue Oct 31 12:11:00 GMT 2000

> Building libzgcj is pointless unless Java is one of the enabled languages.

Is it any more or less pointless than any other generic target
library?  I'm not against this patch, but what happens in the future
when some other project which shares the toplevel configure.in decides
it wants libz for its target, and has to compete with java-specific

Normally, target libraries are excluded from a build for one of
two reasons:

1. The sources don't exist.  If cvs doesn't get them, configure won't
   build them.  Perhaps a new cvs module for java-less gcc?

2. The can't be compiled for the given target.

Plus, there already exists a mechanism for skipping target libraries -
$noconfigdirs.  It does, however, print "This configuration is not
supported in . . . target-zlib".  Have you reviewed that mechanism to
see if it can be used?

More information about the Gcc-patches mailing list