This is the mail archive of the
java-prs@sources.redhat.com
mailing list for the Java project.
Re: gcj/355: gcj: command not found (during make)
- To: apbianco at cygnus dot com
- Subject: Re: gcj/355: gcj: command not found (during make)
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: 11 Oct 2000 06:30:01 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Alexandre Petit-Bianco <apbianco at cygnus dot com>
The following reply was made to PR gcj/355; it has been noted by GNATS.
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: mech20@home.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/355: gcj: command not found (during make)
Date: Tue, 10 Oct 2000 23:25:58 -0700 (PDT)
mech20@home.com writes:
> I really don't know what to do from this point, so I'm trying here,
> it may just be some misconfiguration on my system, I don't know, but
> any help would be great, thanks. =)
Short answer: Gcc and Libgcj are still two separate trees and they
need to be built, installed (and eventually pointed at) separately.
This should change fairly soon.
Long answer: I think I see what's wrong. You haven't built gcc yet
(you have a gcc installed on your system, but it most likely doesn't
feature gcj.) So first, get the gcc source tree (you could start by
downloading a snapshot: http://gcc.gnu.org/snapshots.html), build and
install it (http://gcc.gnu.org/install/index.html), tell your system
where gcj should be found (that is where you specified things should
be installed during the configuration of gcc, suffixed by bin -- if
you specified --prefix=<something> as an argument to `configure' then
gcj will be install under <something>/bin after you did a `make
install') by adjusting and properly exporting PATH and then you can
configure and build libgcj, gcj will be picked up when needed if your
PATH is right. As a sanity check, try `which gcj' first before
configuring and building libgcj.
./A