From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 28 Aug 93 10:43:49 GMT From: dog.ee.lbl.gov!agate!doc.ic.ac.uk!pipex!sunic!celsiustech.se!ppan@ucbvax. Berkeley.EDU (Per Andersson) Subject: Re: GNAT on NT anybody Message-ID: <1993Aug28.104349.6778@celsiustech.se> List-Id: In article <1993Aug27.024824.21373@seas.gwu.edu> mfeldman@seas.gwu.edu (Michael Feldman) writes: > >But that's no fun - it requires a commercial compiler. An all-GNU >approach is to use the gcc cross-compilation facilities. If a GNU >SPARC-to-Sun3 cross exists (just to take one example), then one compiles >GNAT on the SPARC, takes the assembly language output to the Sun-3 >and re-assembles. It is alleged to be fairly easy if you're an >experienced gcc hand. I tried this with a Sparc->sun3. First I built gnat and gcc for the sparc, then I built cross compiler versions of both targeted at sun3, adding stuff as sun3 libraries and GNU LD and GAS to make the cross development system complete. Then I compiled GNAT with it, and moved it to a real sun3 system. Almost works... It compiles small programs OK, like the ones in 'examples' in the distribution, but when trying to compile gnat again on the sun3 an exeption is rasied somewhere, in gnat1 I think, and it doesn't produce any real assembly code. Dont remember what module, but it is a big one, and I think it is the first module that is compiled anyway. Straight gcc cross- compiling works OK, as is to be expected. We'll see with later versions of gnat... /Per ( Oh, yes, I'm not enough of a programmer to find out why it doesn't work, and I won't bother the gnat people with it) -- ----------------------------------------------------------------------------- Per Andersson - ppan@celsiustech.se (perand@stacken.kth.se on free time) Managing networks ( and occasionally SUNs) at, but not speaking for: CelsiusTech AB, J{rf{lla, Sweden