comp.lang.ada
 help / color / mirror / Atom feed
From: Geert Bosch <geert@gonzo.sun3.iaf.nl>
Subject: Re: GNAT for an unsupported Unix-system?
Date: 1997/11/25
Date: 1997-11-25T00:00:00+00:00	[thread overview]
Message-ID: <65eaaq$8s8$1@gonzo.sun3.iaf.nl> (raw)
In-Reply-To: 1064.267T676T1160836@cs.tu-berlin.de


(Please, follow-ups to chat@gnat.com, subscribe using chat-request@gnat.com)

Tor-Einar Jarnbjo <bjote@cs.tu-berlin.de> wrote:

   Ok, I'll try this. But, the GNAT-port for AmigaOS is version 2.06, so
   do you know if any of the newest versions of GNAT will compile with
   this old version, or do I have to get the older sources and do a step-
   by-step upgrade. It says in the installation-guides, that it's only
   guaranteed that GNAT will compile with the last version of GNAT, but
   I might have luck, or not.

You will have to do a cross-compile, starting on a platform for which
a new binary release is available. If you have access to a Unix box
somewhere, the best way to proceed is as follows:
  *  build cross-gcc for your Unix to m68k, should work out of the box
  *  compile trivial C file to assembly (.s) and assemble/link on m68k
  *  if this works, build cross-gnat and compile all GNAT sources to .s
  *  build native GNAT on m68k: now you don't need the GNAT compiler
     because you have assembly sources

Note that you are very likely to get stuck if you try to go the "official"
route, since cross-binutils have (or at least had) some problems with
targetting the m68k platform. Transferring the .s files is much easier than
cross-linking anyway.

BTW, I did some cross-compiles for the m68k-sun-sunos4.1.1 from Linux,
but that is a long time ago. The latest version I built before my Sun-3
died is 3.01, so that won't help you even though you might be able to
run SunOS binaries.

Success!

Regards,
  Geert




  parent reply	other threads:[~1997-11-25  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-10  0:00 GNAT for an unsupported Unix-system? Tor-Einar Jarnbjo
1997-11-15  0:00 ` Chris Morgan
     [not found]   ` <1630.259T1446T2081822@cs.tu-berlin.de>
1997-11-17  0:00     ` Robert Dewar
     [not found]       ` <2164.263T879T7501343@cs.tu-berlin.de>
     [not found]         ` <dewar.880070329@merv>
1997-11-23  0:00           ` Tor-Einar Jarnbjo
1997-11-23  0:00             ` Robert Dewar
1997-11-24  0:00               ` Tor-Einar Jarnbjo
1997-11-24  0:00                 ` Robert Dewar
1997-11-27  0:00                   ` Tor-Einar Jarnbjo
1997-11-26  0:00                     ` Robert Dewar
1997-11-25  0:00                 ` Geert Bosch [this message]
1997-11-27  0:00                   ` Tor-Einar Jarnbjo
1997-11-27  0:00                     ` Richard Kenner
1997-11-28  0:00                       ` Dale Stanbrough
1997-12-01  0:00                         ` Scott Ingram
replies disabled

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