Problem compiling gcc for PowerPC with Ada support

Felix Schill felix at syseng.anu.edu.au
Thu Apr 8 02:43:34 UTC 2004


Hi,

I'm currently trying to install the gcc rtems crosscompiler for the
target PowerPC (an MPC555 board, ec555light from Wuertz electronics),
with Ada language support. I'm using RTEMS version
4.6.0, and downloaded the recommended packages from the download helper.
 (gcc-3.2.3, binutils-2.13.2.1, rtems-4.6.0). I am using Suse Linux 8.2,
with gcc 3.3 and gnat-3.15p.

Following the guidelines (using configure and make) in the included PDF
document "started.pdf", I managed to compile and install binutils, and
gcc with languages="c,c++" completely.
When I added ada to the languages, I got the following error messages:

make[2]: Entering directory
`/home/users/felix/Ada/rtems/tools/b-gcc/gcc/ada'
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long    -W -Wall
-gnatpg -gnata -I- -I. -I../../../gcc-3.2.3/gcc/ada
../../../gcc-3.2.3/gcc/ada/ada.ads
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Divide_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Overflow_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Fractional_Fixed_Ops
compilation abandoned
make[2]: *** [ada.o] Error 1
make[2]: Leaving directory `/home/users/felix/Ada/rtems/tools/b-gcc/gcc/ada'
make[1]: *** [gnat1] Error 2
make[1]: Leaving directory `/home/users/felix/Ada/rtems/tools/b-gcc/gcc'
make: *** [all-gcc] Error 2

My configure options were

../gcc-3.2.3/configure --target=powerpc-rtems --with-gnu-as
--with-gnu-ld --with-newlib --verbose  --enable-threads
--enable-languages="c,c++,ada" --prefix=/opt/rtems-4.6

Has anyone an idea what the problem could be? I can compile all my other
Ada programs without problems, using the same gcc setup, so the native
compiler seems to work.

Kind regards,

Felix






More information about the users mailing list