>3)  ./configure --prefix=/usr/local --target=arm-linuxaout --with-gnu
>--with-cpu=strongarm110

Are you sure you want to target an a.out system?  You don't need --with-gnu by 
the way, it's the default for Linux.

>gcc -DCROSS_COMPILE -DIN_GCC    -g -O2  -DHAVE_CONFIG_H     -I. -I.
>-I./config \
>-DPREFIX=\"/usr/local\" \
>  -c `echo ./prefix.c | sed 's,^\./,,'`
>In file included from config/arm/aout.h:259,
>                 from config/arm/linux-aout.h:56,
>                 from tm.h:2,
>                 from config/arm/xm-arm.h:54,
>                 from config/arm/xm-linux.h:22,
>                 from config.h:2,
>                 from prefix.c:66:
>config/arm/arm.h:56: syntax error before `enum'
>make[1]: *** [prefix.o] Error 1
>make[1]: Leaving directory `/usr2/src/egcs-1.1.1/gcc'
>make: *** [all-gcc] Error 2

My guess is that config.h has something nasty in it, maybe because of a broken 
autoconf or something.  If there's nothing obvious there, run it through gcc 
-E and look at whatever comes immediately before that enum in the output.  
99% of the headers in config/arm are just #defines so it should be fairly 
obvious.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to