From: nettleton@ccfn.demon.co.uk (Chris Nettleton)
Subject: Re: GNAT for Cross Compilation
Date: 1996/06/21
Date: 1996-06-21T00:00:00+00:00 [thread overview]
Message-ID: <31ca6fa2.806112@news.demon.co.uk> (raw)
In-Reply-To: 31C9A6FC.41C67EA6@afit.af.mil
Kendall Lemley <klemley@afit.af.mil> wrote:
>Hi-
>
> I am fairly new to GNAT and am interrested in trying to set it up to
>cross compile Ada code for a student research project. Our host machine
>is a Sun Sparc (running SunOS4.1.3) and the target is a 68030 board. I
>have gotten GNAT 3.05 up and running on the native SUN (I assume this is
>the first step). However, I have been unable to find any documentation
>on how to proceed to set up the cross compiler. Has anyone out there
>done this before, or know where I might look to learn how to do this?
We are in the process if building a cross compilation system for a
68020 board. The compiler itself is not much of a problem once you've
sorted out what to call the various programs (e.g. m68k-coff-gcc), and
updated programs like gnatmake to call the cross compiler. The bulk of
the implementation effort is in the run-time system and debugger
support.
Assuming you have a bare board target computer, then you will need to
provide the basic C libraries such as libc, libm, libpthreads if you
plan to support the full Ada 95 language. On the other hand if you
don't plan to use input-output, memory management or tasking then you
can get away with a mimimal run-time system that initialises the stack
and calls the main program.
next prev parent reply other threads:[~1996-06-21 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-20 0:00 GNAT for Cross Compilation Kendall Lemley
1996-06-21 0:00 ` Chris Nettleton [this message]
1996-06-22 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox