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,919d7a8322af41eb X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: How do I "bootstrap" myself up a GNAT compiler in FreeBSD? Date: 1998/09/24 Message-ID: <6ud6ei$qht$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 394327226 References: <6ucde5$oeq$1@agate.berkeley.edu> X-Http-Proxy: 1.0 x4.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Sep 24 10:21:07 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-09-24T00:00:00+00:00 List-Id: 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