This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcj as crosscompiler
- From: Srinivas Rao Vangara <vsrinivas at indofuji dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: vsrinivas at indofuji dot com
- Date: Mon, 27 Oct 2003 16:27:09 +0530
- Subject: gcj as crosscompiler
- Organization: Indofuji
Hi
I'm trying to build gcj as crosscompiler.
My build m/c is:RedhatLinux9.0.
I'm using gcc-3.3.1,binutils-2.12.90 and newlib-1.10.0
I built binuitls with the following configuration.
/binutils-2.12.90/configure --prefix=/home/vsrinivas/install/xgcj
--target=arm-elf --enable-languages=c,c++,java
--binutils were built without any problem.
Now, I configured gcc with the following configuration.
/gcc-3.3.1/configure --prefix=/home/vsrinivas/install/xgcj --target=arm-elf
--enable-languages=c,c++,java --without-headers --with-newlib --with-gnu-as
--with-gnu-ld
Then i'm getting the configuration error as follows:
configure: error:
The following requested languages were not found: c++ java
The following languages were available: c treelang
Configure in /home/vsrinivas/bld/xgcj/gcc/gcc failed, exiting.
I tried with different target switches like --target=arm-elf/ppc-eabi/rs6000
but with the same configuaration error. If i remove the --enable-languages
option while configuraing, only arm-elf-gcc is being built. I want
arm-elf-gcj .
Can someone help me where i'm going wrong or point
me to how to build gcj as crosscompiler fon any target.
Thanks for your time.
Regards,
Srinivas.