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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news4.google.com!news.glorb.com!news.zanker.org!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <4530293.7i7TkltYeg@linux1.krischik.com> From: Martin Krischik Subject: Re: Reading directories? Newsgroups: comp.lang.ada Reply-To: martin@krischik.com Date: Tue, 22 Feb 2005 14:01:27 +0100 References: <1196059.rss5kBRvty@linux1.krischik.com> <2223704.gy1MrSxFJ0@linux1.krischik.com> <421b09c4$0$24945$9b4e6d93@newsread2.arcor-online.net> Organization: None User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com NNTP-Posting-Host: 83.169.148.156 (83.169.148.156) NNTP-Posting-Date: Tue, 22 Feb 2005 15:00:13 +0100 X-Trace: e8f8a421b3aedf60c313917797 Xref: g2news1.google.com comp.lang.ada:8461 Date: 2005-02-22T14:01:27+01:00 List-Id: 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