This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Installing gcj
- To: Benjamin Pharr <bnpharr at olemiss dot edu>
- Subject: Re: Installing gcj
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Sun, 10 Sep 2000 23:30:21 -0400
- CC: java-discuss at sourceware dot cygnus dot com
- Organization: AppNet
- References: <4.2.2.20000910194749.00ba4100@sunset.backbone.olemiss.edu>
Benjamin Pharr wrote:
> I just downloaded the latest release of gcj, but I can't get it to compile
> (the program itself). I tried a couple of things, but there are no obvious
> directions in the tarball and I couldn't find anything on the web site or
> in the FAQ. HELP!!!
Are you compiling gcc (the compiler) or libgcj (the runtime)? You must
first build the compiler with java support (--enable-languages=c++,java)
and probably thread support (--enable-threads). Make sure to use the
same --prefix for gcc and libgcj, and that the newly built compiler is
in your PATH before any other compilers (i.e. /usr/bin/gcc). What
platform are you using?
If you tell us the exact steps you've taken and the error output you're
getting, we should be able to pinpoint your problem.
Jeff