comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Chicken or the egg. New targets & runtimes
Date: Tue, 15 May 2012 08:04:48 -0700 (PDT)
Date: 2012-05-15T08:04:48-07:00	[thread overview]
Message-ID: <16362593.3378.1337094288543.JavaMail.geo-discussion-forums@vbxz8> (raw)
In-Reply-To: <9934369.1060.1337090738467.JavaMail.geo-discussion-forums@yngr17>

You don't need to get the compiler onto the target, you can use a cross compiler, which runs on whatever OS you have on your dev machine which spits out binaries for your target hardware.

That's basically the process for targeting a new machine. In gcc/ada/gcc-interface/Makefile.in, there are a number of lines that look like:

ifeq ($(strip $(filter-out m68k% wrs vx%,$(targ))),)

these match particular filters, that one is matching vxworks for m68k. To target new hardware, you would need to add a new section there, they define which packages are to be built for that target's runtime.

Luke.



  parent reply	other threads:[~2012-05-15 15:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 14:05 Chicken or the egg. New targets & runtimes Patrick
2012-05-15 14:28 ` Dmitry A. Kazakov
2012-05-15 15:04 ` Lucretia [this message]
2012-05-15 19:44 ` Rego, P.
2012-05-15 20:24   ` mjsilva
2012-05-15 22:59     ` Britt
2012-05-16 16:39     ` Rego, P.
2012-05-16 18:29       ` Tero Koskinen
2012-05-21 19:51         ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox