This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Java only build fails
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Subject: Java only build fails
- From: "Jim Wright" <JimWright at telecom dot cz>
- Date: Wed, 22 Aug 2001 01:53:37 +0200
Hello World,
It's a long time since I built gcc and I only want Java
right now so I downloaded/unpacked gcc-core-3.01
and gcc-java-3.01 (released but not announced?!)
and did this (starting with a command to preserve my
links to html docs):
ln -s gcc-3.0.1 current
mkdir obj
cd obj
../current/configure
make CFLAGS='-O' \
LIBCFLAGS='-g -O2' \
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' \
bootstrap
I don't know what the first error was but I got this
at least twice:
checking build system type... i686-pc-linux-gnu
ltcf-cxx.sh: error: problem compiling test program
and ltcf-cxx.sh says it "Creates a C++ compiler
specific configuration". Then the build died with:
checking whether a statically linked program can dlopen itself...
(cached) no
appending configuration tag "CXX" to libtool
checking for exception model to use... configure: error: unable to
detect exception model
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/prj/here/115/obj'
make: *** [bootstrap] Error 2
I have now downloaded gcc-g++ and
gcc-testsuite and will try again.
I am using Red Hat 7.1 (freshly upgraded
from Red Hat 7.0.9) so everything is recent
gnu stuff i.e. glibc-2.2, binutils 2.10, gnu make etc.
So my questions are:
Is it supposed to be possible to build the Java stuff
without the C++ stuff?
But is it possible?
How do I get a log including the first error message?
(Other than performing the build in emacs, which
actually works fine if I remember to do it.)
The "gccbug and gnatsweb" documentation in
gnats.html says that bootstrap failures should only be
reported if they prevail for atleast one week. What
does this mean? Should I leave my PC switched on,
so it can fix itself? :-) Am I supposed to wait for 3.0.2?
Thanks for your time.
Jim Wright
Bohemian Enterprise