This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Java language not being included as a possible language in --enable-languages argument to configure?


I'm trying to run the GCC configure script with:
[configure input]
~/gcc/configure --disable-nls --enable-gold=yes --enable-libquadmath
--enable-libquadmath-support --enable-libada --enable-libssp
--enable-libcxx --enable-liboffloadmic=target --enable-bootstrap
--enable-lto --enable-static-libjava
--enable-languages=ada,c,c++,fortran,go,java,jit,objc,obj-c++
--enable-objc-gc --enable-vtable-verify --enable-host-shared --quiet
[end configure input]
But configure returns:
[configure output]
configure: WARNING: using in-tree isl, disabling version check
configure: error:
The following requested languages could not be built: java
Supported languages are: c,ada,c,c++,fortran,go,jit,lto,objc,obj-c++
[end configure output]
(I don't know why 'c' is in there twice, but it is.)
Running configure without --quiet returns:
[configure output]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for liboffloadmic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libmpx support... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp
--ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
configure: error:
The following requested languages could not be built: java
Supported languages are: c,ada,c,c++,fortran,go,jit,lto,objc,obj-c++
[end configure output]
Anyone have any ideas? Libjava is in there and everything. Do I need
to have gcj installed prior to building gcj like I need GNAT?

-- 
Signed,
Ethin D. Probst


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]