comp.lang.ada
 help / color / mirror / Atom feed
* GNAT compilation
@ 1997-09-15  0:00 Frederic Jacquet
  1997-09-17  0:00 ` Corey Minyard
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Jacquet @ 1997-09-15  0:00 UTC (permalink / raw)



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 ?


-------------------------------------------------	 Fred. Jacquet	---------

--	IRC name : Lost (#amigafr)-------Member of Pixel-Art,A.T.O.-fr	   ------
-- URL: http://www.imaginet.fr/~fjacquet---eMail: fjacquet@imaginet.fr ------


Try Borg Dry. Why is irrelevant.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GNAT compilation
  1997-09-15  0:00 GNAT compilation Frederic Jacquet
@ 1997-09-17  0:00 ` Corey Minyard
  0 siblings, 0 replies; 2+ messages in thread
From: Corey Minyard @ 1997-09-17  0:00 UTC (permalink / raw)



"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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-17  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-15  0:00 GNAT compilation Frederic Jacquet
1997-09-17  0:00 ` Corey Minyard

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