This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gnat cross-compiles ?
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: espie at nerim dot net, gcc at gcc dot gnu dot org
- Date: Sat, 08 Jun 2002 14:54:46 -0500
- Subject: Re: gnat cross-compiles ?
- Organization: OAR Corporation
- References: <2B024E83-7A1A-11D6-9B44-00039344BF4A@gnat.com>
- Reply-to: joel dot sherrill at OARcorp dot com
Geert Bosch wrote:
>
> On Thursday, June 6, 2002, at 09:46 , Marc Espie wrote:
> > On what arches does gnat currently work ?
> > I'd like to try to build it on openbsd architectures, I have i386
> > binaries... I've tried cross-building i386->sparc64, with little
> > success.
>
> There is a big difference between the compiler being able to bootstrap
> and being a fully working port with proper support for all Ada features.
> Especially in areas such as exception handling, stack-checking,
> floating-point accuracy, tasking and interrupt support every system
> requires special adaptation in the run time.
>
> Even when systems claim support POSIX-compliant multi-threading for
> example, there are always areas where support is insufficient,
> either due to bugs, deviations from the standards or ambiguity
> in POSIX specs. Finally, even if all features work on their own,
> the combination may have problems due to lack of thread safety in
> the underlying C run time or bugs related to signal handling in
> multi-threading programs.
>
> So, the answer to your question really depends on what you mean with
> "works". Currently Sparc/Solaris (32-bit) and i386/Linux are in best
> shape, but even these are still not quite up to the level of GCC 2.8.1
> based versions of GNAT. DEC Alpha, Sparc64, HP PA-RISC and PowerPC
> based platforms should build.
Geert could you point me to something that explains what is
required to get past the missing exception handling support
that gets tripped on some targets with Ada enabled.
Thanks.
> -Geert
--
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