comp.lang.ada
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
Subject: Re: GNAT compilation
Date: 1997/09/17
Date: 1997-09-17T00:00:00+00:00	[thread overview]
Message-ID: <m267s0d3h7.fsf@wf-rch.cirr.com> (raw)
In-Reply-To: 754.197T395T13193179@imaginet.fr


"Frederic Jacquet" <fjacquet@imaginet.fr> writes:

> 
> Hi every body,
> 
> Does anyone suceed compiling GNAT on Linux : I have good a problem, it tries
> to use gnatlink BEFORE creating it ! But I think I follow the rule by the
> book with GCC2.7.2.1.orig debian and gnat_3.04-2 debian too and I recompile
> GCC with the standard commands
> 	./configure
> 	make CC=gcc CFLAGS="-O2" LANGUAGES="c ada c++"
> 	make CC=gcc CFLAGS="-O2" LANGUAGES="c ada c++" bootstrap
> 	make CC=gcc CFLAGS="-O2" gnatlib_and_tools
> 	make install LANGUAGES="c ada c++"
> 
> 
> Any idea ?
> 

You have to install a binary version of GNAT before recompiling it.
GNAT is written in Ada, so you have to have an Ada compiler (namely
GNAT) to recompile it.  Thus it uses gnatlink before it compiles it.

I would also surmise that since you are posting this to
comp.os.linux.m68k, you are compiling it on a 68k machine.  This
requires you to cross-compile the compiler on another supported
machine to bootstrap it.  Plus you probably have to do some porting
work.  This is not impossible, but not for the faint of heart.

-- 
Corey Minyard               Internet:  minyard@acm.org
  Work: minyard@nortel.ca       UUCP:  minyard@wf-rch.cirr.com




      reply	other threads:[~1997-09-17  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-15  0:00 GNAT compilation Frederic Jacquet
1997-09-17  0:00 ` Corey Minyard [this message]
replies disabled

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