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,1712255838faca2d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!clubley From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) Newsgroups: comp.lang.ada Subject: Re: Help installing GCC/GNAT 4.0.2 Date: 24 Nov 2005 06:48:34 -0600 Organization: Encompasserve Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1132836449 5951 192.135.80.34 (24 Nov 2005 12:47:29 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Thu, 24 Nov 2005 12:47:29 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:6588 Date: 2005-11-24T06:48:34-06:00 List-Id: In article , Anonymous Coward writes: > Starting with GCC 3.2.2, and the following versions of GNAT > (distributed with Red Hat 9): > > GNATMAKE 3.2.2 20030222 (3.2.2-4) Copyright 1995-2001 Free Software Foundation, Inc. > GNATBIND 3.2.2 20030222 (3.2.2-4) Copyright 1995-2001 Free Software Foundation, Inc. > > I attempted to install the latest GNAT from gcc-4.0.2.tar.bz2, as follows: > > % mkdir /usr/local/src/gcc-4.0.2/obj > % cd !$ > % ../configure Aren't you supposed to have your build directory at the same level as your source directory ? My directory setup for building a new gcc version is: /apps/gcc- (source directory) /apps/obj-gcc (build directory) /apps/exe-gcc- (installed compiler) I note that you are running gnatmake to get version information and not gcc itself. Check to see if the Ada compiler on your system is invoked by gcc or an alternative command like gnatgcc. Ie: do something like: gcc -c hello.adb and see what the result is. If your system uses gnatgcc for Ada programs, then try something like CC=gnatgcc ..//configure --enable-languages=c,ada ... (BTW, I personally _always_ use --prefix to place the built compiler in it's own location.) Also, I can't remember if this version has dropped the requirement to issue a make gnatlib_and_tools (I'm still using the 3.x series). Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Scientific Theory: A testable hypothesis that is supported by a body of evidence