comp.lang.ada
 help / color / mirror / Atom feed
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
Date: 28 Aug 93 10:43:49 GMT	[thread overview]
Message-ID: <1993Aug28.104349.6778@celsiustech.se> (raw)

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

             reply	other threads:[~1993-08-28 10:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-28 10:43 Per Andersson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-08-30 16:51 GNAT on NT anybody Barry Schiff
1993-08-28 15:50 Rolf EBERT
1993-08-27 18:16 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!torn!nott!n
1993-08-27 15:22 Richard Kenner
1993-08-27 12:08 cis.ohio-state.edu!math.ohio-state.edu!darwin.sura.net!dtix.dt.navy.mil!r
1993-08-27 10:07 Richard Kenner
1993-08-27  2:48 Michael Feldman
1993-08-27  2:38 Michael Feldman
1993-08-26 15:49 Barry Schiff
replies disabled

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