target of cross compile : problem in make (newbie)

sting sting zstingx@hotmail.com
Wed Mar 24 11:36:00 GMT 2004


Hello,

I had installed gcc 3.3.2 from gcc-3.3.2.tar.bz2 on a Linux (x86) RedHat 9 
machine.

I want to use it to compile a project so it will run on powerpc.

when I try

./configure --target=powerpc-*-elf
I get the follwoing error:
"./configure: No match."

So I had tried to choose "1" instead of "*":

./configure --target=powerpc-1-elf


and I got :

Configuring for a i686-pc-linux-gnu host.
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)

but the configure succeeded .

First , what is the meaning of the "1" I had entered ?
(It aso works with
./configure --target=powerpc-2-elf
./configure --target=powerpc-3-elf
....


afterwards, when running make I get the following error:


gcc -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I./ada ada/sdefault.adb -o 
ada/sdefault.o
gnatbind -C -I- -I. -Iada -I./ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
4.
     |
make[1]: *** [ada/b_gnat1.c] Error 4
make[1]: Leaving directory `/home/rami/src/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2


(I have binutils-2.13.90.0.18-9)

any idea?

regards,
sting

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



More information about the Gcc-help mailing list