gcj as crosscompiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux