This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ada on ARM


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]