Bug 53527 - 4.7.0 release can't enable java language
Summary: 4.7.0 release can't enable java language
Status: CLOSED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.7.0
: P3 major
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 10:55 UTC by licheng.1212@gmail.com
Modified: 2012-05-31 07:37 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description licheng.1212@gmail.com 2012-05-30 10:55:13 UTC
[licheng@localhost build]$ ../configure --prefix=${PREFIX} --target=${TARGET} --with-newlib --with-headers=../../newlib-1.20.0/newlib/libc/include/ --with-ar=${PREFIX}/bin/${TARGET}-ar --with-as=${PREFIX}/bin/${TARGET}-as --with-ld=${PREFIX}/bin/${TARGET}-ld --with-mpfr=${PREFIX} --with-gmp=${PREFIX} --with-ppl=${PREFIX} --with-cloog=${PREFIX} --with-mpc=${PREFIX} --enable-languages=c,c++,java --disable-multilib  --with-gcc-version-trigger=../gcc/version.c --disable-libstdcxx-pch
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... mips-unknown-elf
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 libitm support... no
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 for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... yes
checking for version 0.11 (revision 0 or later) of PPL... yes
checking for installed CLooG PPL Legacy... PPL Legacy
checking for version 0.15.5 (or later revision) of CLooG... yes
configure: error: 
The following requested languages could not be built: java
Supported languages are: c,c++,fortran,go,lto,objc,obj-c++

gcc 4.4.2 is OK
Comment 1 Richard Biener 2012-05-30 11:14:26 UTC
mips-unknown-elf is not a hosted platform and thus does not support Java.
Comment 2 licheng.1212@gmail.com 2012-05-31 03:01:01 UTC
(In reply to comment #1)
> mips-unknown-elf is not a hosted platform and thus does not support Java.

But why the GCC 4.4.2 is OK,and I want to build a corss compiler that support java for embedded system.
Comment 3 licheng.1212@gmail.com 2012-05-31 07:37:29 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > mips-unknown-elf is not a hosted platform and thus does not support Java.
> 
> But why the GCC 4.4.2 is OK,and I want to build a corss compiler that support
> java for embedded system.

sorry,you are right, I had been add a java patch for 4.4.2 gcc,I forgat it
Thanks for your reply!!