java doesn't build without c++
Martin Kahlert
martin.kahlert@infineon.com
Wed Feb 21 05:18:00 GMT 2001
Hi!
I tried
configure --enable-languages=java --enable-threads=posix && make
and got:
make[2]: Entering directory `/sw/local_l/kahlert/gcc/obj/i686-pc-linux-gnu/libjava'
/bin/sh ./libtool --tag=CXX --mode=compile /home/kahlert/LOCAL/gcc/obj/gcc/g++
-B/home/kahlert/LOCAL/gcc/obj/gcc/ -nostdinc++
-L/home/kahlert/LOCAL/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/kahlert/LOCAL/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/sw/snapshots/i686-pc-linux-gnu/bin/ -B/sw/snapshots/i686-pc-linux-gnu/lib/
-isystem /sw/snapshots/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I.
-I../../../libjava -I./include -I../../../libjava -Iinclude
-I../../../libjava/include -I../../../libjava/../boehm-gc -I./../boehm-gc
-DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I../../../libjava/libltdl
-I../../../libjava/libltdl -I../../../libjava/../gcc
-I../../../libjava/../include -I../../../libjava/../zlib
-I../../../libjava/../libffi/include -I../libffi/include -fno-rtti
-fvtable-thunks -fasynchronous-exceptions -fdollars-in-identifiers
-D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -g -O2
-fvtable-thunks -D_GNU_SOURCE -c ../../../libjava/prims.cc
/home/kahlert/LOCAL/gcc/obj/gcc/g++ -B/home/kahlert/LOCAL/gcc/obj/gcc/
-nostdinc++ -L/home/kahlert/LOCAL/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/kahlert/LOCAL/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/sw/snapshots/i686-pc-linux-gnu/bin/ -B/sw/snapshots/i686-pc-linux-gnu/lib/
-isystem /sw/snapshots/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I.
-I../../../libjava -I./include -I../../../libjava -Iinclude
-I../../../libjava/include -I../../../libjava/../boehm-gc -I./../boehm-gc
-DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I../../../libjava/libltdl
-I../../../libjava/libltdl -I../../../libjava/../gcc
-I../../../libjava/../include -I../../../libjava/../zlib
-I../../../libjava/../libffi/include -I../libffi/include -fno-rtti
-fvtable-thunks -fasynchronous-exceptions -fdollars-in-identifiers
-D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -g -O2
-fvtable-thunks -D_GNU_SOURCE -Wp,-MD,.deps/prims.pp -c
../../../libjava/prims.cc
./libtool: /home/kahlert/LOCAL/gcc/obj/gcc/g++: No such file or directory
make[2]: *** [prims.lo] Error 1
make[2]: Leaving directory
`/sw/local_l/kahlert/gcc/obj/i686-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/sw/local_l/kahlert/gcc/obj/i686-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2
Bye,
Martin.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.
More information about the Gcc-bugs
mailing list