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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7e07d42b7f3b3389 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Tue, 22 Feb 2005 11:30:33 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Reading directories? References: <1196059.rss5kBRvty@linux1.krischik.com> <2223704.gy1MrSxFJ0@linux1.krischik.com> In-Reply-To: <2223704.gy1MrSxFJ0@linux1.krischik.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <421b09c4$0$24945$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 22 Feb 2005 11:30:28 MET NNTP-Posting-Host: 65f86748.newsread2.arcor-online.net X-Trace: DXC=465C1\]S94:?0I78\m5cj:Q5U85hF6f;4jW\KbG]kaM8ea\9g\;7Nm54g[OG?BGlK7UUng9_FXZ=3>:=P9Ihe`B8@Z?dZ]MOid5 X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:8459 Date: 2005-02-22T11:30:28+01:00 List-Id: 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) $ 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. -- Georg