gcj --help broken

Anthony Green green@cygnus.com
Sat Jun 26 10:31:00 GMT 1999


Jeff Garzik <jgarzik@pobox.com> writes:

> The problem:
> 
> dog:~/cvs/egcs> /usr/local/egcs/bin/gcj --help
> gcj: libgcj.spec: No such file or directory

The java compiler and runtime (libgcj) are tightly coupled.  Part of
this involves having gcj do the right thing at link time - meaning it
will link in all of the system libraries required by the runtime.  The
set of system libraries depends on the target system as well as how
you've configured the runtime.  libgcj.spec is used to identify these
libraries.  It is created and installed when you configure and install
libgcj.

Unfortunately, libgcj is not yet part of egcs.  It is, of course, Free
software (LGPL) - and available at http://sourceware.cygnus.com/java .

That being said, it seems that `gcj --help' shouldn't require
libgcj.spec.

I can see we will need an FAQ entry for this.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Gcc-bugs mailing list