From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,702da61d55762f7b X-Google-Attributes: gid103376,public From: Geert Bosch Subject: Re: GNAT for an unsupported Unix-system? Date: 1997/11/25 Message-ID: <65eaaq$8s8$1@gonzo.sun3.iaf.nl>#1/1 X-Deja-AN: 292546402 References: <1630.259T1446T2081822@cs.tu-berlin.de> <2164.263T879T7501343@cs.tu-berlin.de> <1100.266T350T9940654@cs.tu-berlin.de> <1064.267T676T1160836@cs.tu-berlin.de> Organization: La Calandre Infortunee Newsgroups: comp.lang.ada Date: 1997-11-25T00:00:00+00:00 List-Id: (Please, follow-ups to chat@gnat.com, subscribe using chat-request@gnat.com) Tor-Einar Jarnbjo 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