gnat cross compilation

This is a discussion on gnat cross compilation within the ADA forums in Programming Languages category; any docs available on building gnat cross compiler? My goal is to target an embedded platform (MSP430 if possible but ARM primarily). I realize that adacore does have a PPC based embedded solution - but it is not clear they are GPL. any pointers appreciated. srini...

Go Back   Application Development Forum > Programming Languages > ADA

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-19-2008, 05:37 PM
RasikaSrinivasan@gmail.com
Guest
 
Default gnat cross compilation

any docs available on building gnat cross compiler? My goal is to
target an embedded platform (MSP430 if possible but ARM primarily). I
realize that adacore does have a PPC based embedded solution - but it
is not clear they are GPL.

any pointers appreciated. srini
Reply With Quote
  #2  
Old 08-20-2008, 09:39 AM
Alex R. Mosteo
Guest
 
Default Re: gnat cross compilation

RasikaSrinivasan@gmail.com wrote:

> any docs available on building gnat cross compiler? My goal is to
> target an embedded platform (MSP430 if possible but ARM primarily). I
> realize that adacore does have a PPC based embedded solution - but it
> is not clear they are GPL.
>
> any pointers appreciated. srini


Most recent thread on this topic:

http://groups.google.com/group/comp....8075357a11ea75

Also, take a look at RTEMS (and perhaps MaRTE OS?)
Reply With Quote
  #3  
Old 08-20-2008, 03:52 PM
Simon Wright
Guest
 
Default Re: gnat cross compilation

"RasikaSrinivasan@gmail.com" <RasikaSrinivasan@gmail.com> writes:

> any docs available on building gnat cross compiler? My goal is to
> target an embedded platform (MSP430 if possible but ARM primarily). I
> realize that adacore does have a PPC based embedded solution - but it
> is not clear they are GPL.


I think AdaCore will only supply you with this compiler if you are a
supported customer, in which case you would get the GMGPL version and
could create and distribute proprietary applications. Of course nothing
would stop you distributing under the GPL if you wanted, even if you
used a GMGPL compiler.
Reply With Quote
  #4  
Old 08-20-2008, 06:36 PM
anon
Guest
 
Default Re: gnat cross compilation

For Some docs try:

http://kegel.com/crosstool/

Or try ( copied from another post )

from: Samuel Tardieu Jul 1.

Quote:
if you want to give it a try, I produced a quick patch for the latest
GCC SVN trunk which may work or may not work.

You must:

- fetch the latest GCC sources from the FSF, SVN trunk, see

http://gcc.gnu.org/svn.html

to retrieve the sources

- apply the patch found at

http://www.rfc1149.net/tmp/arm-linux-gnat-port.patch

- build and install a native Ada+C compiler from those patched
sources

- build and install a cross compiler from those patched sources
using the compiler built previously (it is important to have the
cross-compiler built from a native compiler using the same
version)

I do not have any ARM board to test it. Please keep me informed
privately (maybe keeping each other in Cc of how it went, so that I
can add this patch to the GCC sources if it is working for you.

Sam
--
Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

Unquote:


In <ce7b074d-03da-435e-9c92-207de550726d@l42g2000hsc.googlegroups.com>, "RasikaSrinivasan@gmail.com" <RasikaSrinivasan@gmail.com> writes:
>any docs available on building gnat cross compiler? My goal is to
>target an embedded platform (MSP430 if possible but ARM primarily). I
>realize that adacore does have a PPC based embedded solution - but it
>is not clear they are GPL.
>
>any pointers appreciated. srini


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:28 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.