This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Installation of Cross Compiler


Hi!

I have been trying to install the Cross Compiler available on the GNU 
website.

My installation order is as follows:
1. Binutils (binutils-2.12)
2. GCC (gcc-2.95.3)
3. Newlib (newlib-1.8.2)
4. GDB (5.1.0.1)

Host=sparc-sun-solaris2.7
Target=mn10200

The configure command that I used in the build-binutils directory is:
../binutils-2.12/configure --host=sparc-sun-solaris2.7 --target=mn10200 
--prefix=$prefix -v

The installation for the binutils was successful but an error occur during 
the installation of gcc-2.95.3, where the following command is used:
../gcc-2.95.3/configure --host=sparc-sun-solaris2.7 --target=mn10200 
--prefix=$prefix -v

The error messages I obtained are as follows:
gmake[2]: Entering directory `/homelsi1/wlnew/build-gcc/gcc/f'
gcc -c -DCROSS_COMPILE -DIN_GCC  -DSVR4  -g -O2  -W -Wall    -I. -I.. 
-I../../../gcc-2.95.3/gcc/f -I../../../gcc-2.95.3/gcc/f/.. 
-I../../../gcc-2.95.3/gcc/f/../config 
-I../../../gcc-2.95.3/gcc/f/../../include ../../../gcc-2.95.3/gcc/f/bad.c
gcc -c -DCROSS_COMPILE -DIN_GCC  -DSVR4  -g -O2  -W -Wall    -I. -I.. 
-I../../../gcc-2.95.3/gcc/f -I../../../gcc-2.95.3/gcc/f/.. 
-I../../../gcc-2.95.3/gcc/f/../config 
-I../../../gcc-2.95.3/gcc/f/../../include ../../../gcc-2.95.3/gcc/f/bit.c
gcc -c -DCROSS_COMPILE -DIN_GCC  -DSVR4  -g -O2  -W -Wall    -I. -I.. 
-I../../../gcc-2.95.3/gcc/f -I../../../gcc-2.95.3/gcc/f/.. 
-I../../../gcc-2.95.3/gcc/f/../config 
-I../../../gcc-2.95.3/gcc/f/../../include ../../../gcc-2.95.3/gcc/f/bld.c
gcc -c -DCROSS_COMPILE -DIN_GCC  -DSVR4  -g -O2  -W -Wall    -I. -I.. 
-I../../../gcc-2.95.3/gcc/f -I../../../gcc-2.95.3/gcc/f/.. 
-I../../../gcc-2.95.3/gcc/f/../config 
-I../../../gcc-2.95.3/gcc/f/../../include ../../../gcc-2.95.3/gcc/f/com.c
In file included from ../../../gcc-2.95.3/gcc/f/com.c:198:
../../../gcc-2.95.3/gcc/f/com.h:145: #error Cannot find a suitable type for 
FFECOM_f2cLONGINT
gmake[2]: *** [com.o] Error 1
gmake[2]: Leaving directory `/homelsi1/wlnew/build-gcc/gcc/f'
gmake[1]: *** [f771] Error 2
gmake[1]: Leaving directory `/homelsi1/wlnew/build-gcc/gcc'
gmake: *** [all-gcc] Error 2

Can anyone help with the above? Thank you very much.

With best regards,
Julia Koh



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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