comp.lang.ada
 help / color / mirror / Atom feed
From: z007400b@bc.seflin.org (Ralph Silverman)
Subject: Re: [?] GNU g77 FORTRAN compiler witten in C?
Date: 1997/11/06
Date: 1997-11-06T00:00:00+00:00	[thread overview]
Message-ID: <63skbb$9sl@nntp.seflin.org> (raw)
In-Reply-To: 63r2mp$r8t$1@helios.crest.nt.com


Kaz Kylheku (kaz@helios.crest.nt.com) wrote:
: In article <danpop.878749765@news.cern.ch>, Dan Pop <Dan.Pop@cern.ch> wrote:
: >>The fact that the back end is written in C is a complication that may
: >>also encourage the use of C for the front end, but definitly does not
: >>force the use of C. Note that GNAT, the GNU Ada compiler, is written
: >>almost entirely in Ada (at one time I believe its only C code was a C
: >>main for compatibility with the back end).
: >
: >I can see two problems:
: >
: >1. How do I install it on my machine, which has no Ada compiler?
: >
: >2. How do I port it to a new architecture, which has no Ada compiler?
: >
: >The answer, in both cases, seems to be: find an Ada compiler written in C.

: The actual answer is that you get GNAT binaries to bootstrap yourself---the
: same way that you get GCC binaries with your Linux distribution or
: same way you get your C compiler from a commercial vendor.

: How would you port it to an architecture that has no Ada compiler? Once you
: have a GNAT development system running, you can retarget the Ada compiler you
: have. You can then compile programs for that previously unsupported platform.
: You then compile the compiler itself and get it running on that platform!
: (Easier said than done, of course, but in principle that is what you would do).
: -- 
: "In My Egotistical Opinion, most people's C programs should be
: indented six feet downward and covered with dirt."
: 	-- Blair P. Houghton

	unix os,
	originally designed to be
		portable
	faces similar problem ...
	generally,
	solved similarly ...

	and this works well,
	as many implementations
	of this,  and similar,
	systems shows ...
		aix
		hp-ux
		solaris
		ultrix
		sunos
		xenix
		coherent
		linux
		bsd
	etc. ...

--

Ralph Silverman
z007400b@bcfreenet.seflin.lib.fl.us





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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <63n9vl$84c@saluki-news.it.siu.edu>
     [not found] ` <tsw-0411971138240001@cypher.cagent.com>
     [not found]   ` <345FAF90.41C6@lanl.gov>
     [not found]     ` <danpop.878749765@news.cern.ch>
     [not found]       ` <63r2mp$r8t$1@helios.crest.nt.com>
1997-11-06  0:00         ` Ralph Silverman [this message]
1997-11-06  0:00           ` [?] GNU g77 FORTRAN compiler witten in C? Robert Dewar
replies disabled

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