This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada on ARM
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: Frédéric PRACA <frederic dot praca at freebsd-fr dot org>
- Cc: Joel Sherrill <joel dot sherrill at OARcorp dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 21 Nov 2005 18:26:39 +0100
- Subject: Re: Ada on ARM
- References: <1132589640.4381f248e3c21@imp4-g19.free.fr>
On Mon, 2005-11-21 at 17:14 +0100, FrÃdÃric PRACA wrote:
> Hi,
> I'm currently trying to build an Ada cross compiler for ARM using the arm-rtems
> target. I tried with GCC 4.0.2 and subversion-version but I failed.
> What should I know to do this knowing that I already built the C and C++
> cross-compilers ?
1. Replace your host compiler with the same version you want to build
cross (Ada requirement).
2. The standard RTEMS toolchains are multilib'ed, Gnatlib in gcc-4.0.x
doesn't support multilibs
=> The only chance you have is to build a non-multilib'ed custom
RTEMS-GCC.
3. GNAT from GCC < 4.0.2 did not support the arm. I haven't tried
gcc-4.0.2 and don't know if anybody has meanwhile added arm-support to
GNAT.
All in all, I think you've lost ... :(
Ralf