gcj/355: gcj: command not found (during make)
Alexandre Petit-Bianco
apbianco@cygnus.com
Tue Oct 10 23:30:00 GMT 2000
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
More information about the Java-prs
mailing list