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: gnat cross-compiles ?



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


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