comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Reading directories?
Date: Tue, 22 Feb 2005 14:01:27 +0100
Date: 2005-02-22T14:01:27+01:00	[thread overview]
Message-ID: <4530293.7i7TkltYeg@linux1.krischik.com> (raw)
In-Reply-To: 421b09c4$0$24945$9b4e6d93@newsread2.arcor-online.net

Georg Bauhaus wrote:

> Martin Krischik wrote:
> 
>>>Are there any extraordinary measures necessary to get GCC 4 to compile?
>>>  I've run into a fair number of problems with a mundane configure;
>>>make; make install routine.
>> 
>> 
>> Almost the same as compiling 3.4:
>> 
>> http://ada.krischik.com/gnat-3_4.html
> 
> Compiling and using a bare C and Ada GCC 4 GNAT toolset,
> on an average GNU/Linux PC, is almost always possible using
> 
> $ cd some_fresh_build_directory
> $ path_to_GCC_src/configure --prefix=/some/where --enable-languages=c,ada
> $ make bootstrap (and have lunch)
> $ make check (to see whether it is in good shape)

Well, I found that "make check" won't allways work - it needs some strange
tools. If so try:

make -C gcc check-ada

and have dinner - it takes almost as long as the compiler.

> $ make install
> 
> Then to use the new compiler and tools,
> 
> $ PATH=/some/where/bin:${PATH}
> $ export PATH
> 
> Note that to build GNAT you need a compiler that understands
> Ada (GNAT's). If your system's default CC doesn't understand
> Ada, set the CC environment variable to the Ada compiler.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com




  reply	other threads:[~2005-02-22 13:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 10:29 Reading directories? Chris Dutton
2005-02-21 11:02 ` Martin Dowie
2005-02-21 11:42 ` Martin Krischik
2005-02-21 15:23   ` Martin Dowie
2005-02-21 19:01     ` Martin Krischik
2005-02-21 20:32       ` Martin Dowie
2005-02-22  3:05   ` Chris Dutton
2005-02-22  7:55     ` Martin Krischik
2005-02-22 10:30       ` Georg Bauhaus
2005-02-22 13:01         ` Martin Krischik [this message]
2005-02-22 15:47           ` Georg Bauhaus
2005-02-28 14:39 ` John Stoneham
2005-02-28 14:58   ` Peter Hermann
2005-03-01 15:53     ` John Stoneham
replies disabled

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