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]

Errors building GNAT/RTEMS cross compiler


Hi,

    I'm getting errors while building GNAT/RTEMS cross compiler from host=i686-linux-pc to powerpc-eabi.  I followed the intructions on RTEMS online library (http://www.rtems.com/onlinedocs/doc-current/share/rtems/html/started_ada/started_ada00013.html).  Here are the errors I got after running bit_ada build script:

...
ta" "ADA_FOR_TARGET=" "INSTALL_DATA=/usr/bin/install -c" "INSTALL_PROGRAM=/usr/bin/install -c" ../gnat1
gmake[1]: Entering directory `/home/pee/XComp_source/CrossGNAT/tools/build-powerpc-tools/gcc/ada'
gcc -c -O2  -gnatpg -gnata -I- -I. -I../../../src/gcc/ada ../../../src/gcc/ada/ada.ads
fatal error: system.ads is incorrectly formatted
missing line for parameter: AAMP
fatal error: system.ads is incorrectly formatted
missing line for parameter: Command_Line_Args
fatal error: system.ads is incorrectly formatted
missing line for parameter: Denorm
fatal error: system.ads is incorrectly formatted
missing line for parameter: Functions_Return_By_DSP
fatal error: system.ads is incorrectly formatted
missing line for parameter: Frontend_Layout
fatal error: system.ads is incorrectly formatted
missing line for parameter: High_Integrity_Mode
fatal error: system.ads is incorrectly formatted
missing line for parameter: Long_Shifts_Inlined
fatal error: system.ads is incorrectly formatted
missing line for parameter: Machine_Overflows
fatal error: system.ads is incorrectly formatted
missing line for parameter: Machine_Rounds
fatal error: system.ads is incorrectly formatted
missing line for parameter: Signed_Zeros
fatal error: system.ads is incorrectly formatted
missing line for parameter: Use_Ada_Main_Program_Name
fatal error: system.ads is incorrectly formatted
missing line for parameter: OpenVMS
fatal error: system.ads is incorrectly formatted
missing line for parameter: ZCX_By_Default
fatal error: system.ads is incorrectly formatted
missing line for parameter: GCC_ZCX_Support
fatal error: system.ads is incorrectly formatted
missing line for parameter: Front_End_ZCX_Support
compilation abandoned
gmake[1]: *** [ada.o] Error 1
gmake[1]: Leaving directory `/home/pee/XComp_source/CrossGNAT/tools/build-powerpc-tools/gcc/ada'
gmake: *** [gnat1] Error 2
+ check_fatal 2 '**** FAILED **** gnat (gnat1)'
+ '[' 2 -ne 0 ']'
+ shift
+ echo 'ERROR: **** FAILED **** gnat (gnat1)'
ERROR: **** FAILED **** gnat (gnat1)
+ my_exit 1
++ date
...


	Here are lists of tools I used:

ada_build_scripts-4.5.0.tgz
ada-examples-4.5.0.tgz
binutils-2.9.1-rtems-gnat-3.12p-20000429.diff.gz
binutils-2.9.1.tar.gz
c_build_scripts-4.5.0.tgz
gcc-2.8.1-rtems-gnat-3.12p-20000429.diff.gz
gcc-2.8.1.tgz
gdb-4.17-rtems-gnat-3.12p-20000429.diff.gz
gdb-4.17.tar.gz
gnat-3.12p-rtems-20000429.diff.gz
gnat-3.12p-src.tar.gz
newlib-1.8.2-rtems-20000606.diff.gz
newlib-1.8.2.tar.gz
rtems-4.5.0-beta3a-4.5.0.diff.gz
rtems-4.5.0.tgz

	I'm running Redhat 9.0, and the kernel version is 2.4.20-20.9.  I have a native gnat compiler installed and worked fine on the machine.  Could someone enlighten me on how to get rid of these errors?  It seems like my gnat source is missing something.  I tried downloading gnat from different sources (including the one from RTEMS website itself), but that seems to be in vain.

	Thanks for your help!

Pee

------
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]