This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
3.1 branch Ada cross report
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: gcc at gcc dot gnu dot org, guerby at acm dot org
- Date: Tue, 30 Apr 2002 12:25:06 -0500
- Subject: 3.1 branch Ada cross report
- Organization: OAR Corporation
- Reply-to: joel dot sherrill at OARcorp dot com
Hi,
I finally got enough targets working for C and C++ that I
thought I would invest some time in trying gnat. On the
old gcc 2.8.1 based GNAT, I was only able to build
sparc-rtems and powerpc-rtems due to the more limited
support for embedded targets and ELF for them.
My native compiler is the ACT 3.14p binary from cs.nyu.edu.
newlib is CVS, gcc is 3.1 CVS last updated Saturday
about 10am CDT.
I should also thank Laurent Guerby for helping me fight some
basic build problems. I have some RTEMS specific Ada
patches and a general cross Ada one from Laurent in my
tree.
Some general impressions:
+ i386-rtems fails to build with a GNAT BUG BOX. :(
Makes me wonder how native x86 versions are doing.
+ at least hppa1.1 assumes native build for CFLAGS
+ general include PATH problem which is manifested
as inability to find newlib's .h files and at least
in one case the file config/mips/ecoff.h. This
seems to explain arm, powerpc, mips, and mips64orion.
+ Some target CPUs do not have the Ada exception support.
h8300, m68k, and sh targets failed for this reason.
sparc-rtems - This is the ONLY target that built OK. I am
going to run ACATS on it.
arm-rtems - adaint.c fails with these
adaint.h:100: parse error before '*' token
I don't see anything wrong at that line. :(
h8300-rtems -
raise.c: In function `__gnat_eh_personality':
raise.c:601: built-in function `__builtin_eh_return_data_regno' not
currently supported
hppa1.1-rtems -
gcc -c -g -O2 -mdisable-indexing -W -Wall -gnatpg -gnata -I- -I.
-I../../../gcc-to-merge/gcc/ada ../../../gcc-to-merge/gcc/ada/ada.ads
gnat1: Invalid option `disable-indexing'
Apparently the configure scripts assume an hpux compiler?
i386-rtems - GNAT BUG box (says gnatpro)
| 5.00w (20010924) (i386-pc-rtems) GCC
error: |
| Internal compiler error in compensate_edge, at
reg-stack.c:2564 |
| Error detected at a-tiflio.adb:54:10
[a-flteio.ads:22:1]
i960-rtems -
../../../gcc-to-merge/gcc/ada/utils.c: In function
`finish_record_type':
../../../gcc-to-merge/gcc/ada/utils.c:868: `record_size' undeclared
(first use in this function)
m68k-rtems -
raise.c: In function `__gnat_eh_personality':
raise.c:601: built-in function `__builtin_eh_return_data_regno' not
currently supported
mips64orion-rtems and mips-rtems - appears to be a Makefile problem
make[2]: *** No rule to make target
`../../../gcc-to-merge/gcc/ada/config/mips/ecoff.h', needed by
`final.o'. Stop.
powerpc-rtems - can't find C library includes possibly because it
isn't properly handling -enable-newlib?
/opt/usr3/ftp_archive/gnu/gcc/ss/b3.1-branch/gcc-to-merge/gcc/tsystem.h:87:18:
time.h: No such file or directory
adaint.c:58:22: sys/stat.h: No such file or directory
adaint.c:59:19: fcntl.h: No such file or directory
sh-rtems and sh-rtemself -
raise.c: In function `__gnat_eh_personality':
raise.c:601: built-in function `__builtin_eh_return_data_regno' not
currently supported
raise.c:601: built-in function `__builtin_eh_return_data_regno' not
currently supported
sh-rtemself -
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985