comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: How do I "bootstrap" myself up a GNAT compiler in FreeBSD?
Date: 1998/09/24
Date: 1998-09-24T00:00:00+00:00	[thread overview]
Message-ID: <6ud6ei$qht$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 6ucde5$oeq$1@agate.berkeley.edu

In article <6ucde5$oeq$1@agate.berkeley.edu>,
  gerald@soda.CSUA.Berkeley.EDU (Gerald Leung) wrote:
>
> For anyone here who uses FreeBSD, gnat is in the ports collection
> listed as a translator though as I understand it it actually IS a
> full compiler or most of a full one.
>
> However, when attempting to install the port for gnat 3.10 it says
> I need a gcc that already has Ada capability.  What I'm wondering
> is how I manage that. ^^  Should I be looking for a 3.09 or earlier
> version that can be installed whole or...?
>
> This is a little snag that has been on my list of things to figure
> out for awhile, so all help is appreciated.

Yes, GNAT *is* a translator, in the sense that all compilers
are translators, it translates from Ada to machine language!
Actually we have dropped the designation Translator precisely
because it gets misunderstood (if you find this designation
somewhere, let us know, it is obsolete)

Since GNAT is written in Ada, of course you need an Ada
compiler to compile it. This must be achieved by finding
a binary for a previous 3.09 version, which may or may not
exist (Free BSD is not one of the targets for which ACT
provides a port). Alternatively you must build a cross-compiler
from some other target. The latter is indeed only a "little
snag", but only if you are familiar with GCC and know what
you are doing!

Doesn't FreeBSD run Linux executables? That is another
way to solve the problem, since Linux ports are definitely
available.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  parent reply	other threads:[~1998-09-24  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-24  0:00 How do I "bootstrap" myself up a GNAT compiler in FreeBSD? Gerald Leung
1998-09-24  0:00 ` dewarr
1998-09-24  0:00 ` Jonathan Guthrie
1998-09-24  0:00 ` dewarr [this message]
1998-09-24  0:00 ` Samuel Tardieu
replies disabled

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