comp.lang.ada
 help / color / mirror / Atom feed
From: clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Subject: Re: Help installing GCC/GNAT 4.0.2
Date: 24 Nov 2005 06:48:34 -0600
Date: 2005-11-24T06:48:34-06:00	[thread overview]
Message-ID: <RbxPDuavJf7C@eisner.encompasserve.org> (raw)
In-Reply-To: slrndo81ud.m5.bogus_addy@tango.mindfuq.org

In article <slrndo81ud.m5.bogus_addy@tango.mindfuq.org>, Anonymous Coward <spam@spam.com> 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-<version>	(source directory)
	/apps/obj-gcc		(build directory)
	/apps/exe-gcc-<version>	(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 ../<gcc_source_dir>/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



      parent reply	other threads:[~2005-11-24 12:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23  4:08 Help installing GCC/GNAT 4.0.2 Anonymous Coward
2005-11-23  9:36 ` Georg Bauhaus
2005-11-23 10:47   ` Jerome Hugues
2005-11-23 11:23     ` Tapio Kelloniemi
2005-11-24  4:10       ` Anonymous Coward
2005-11-24  5:15         ` Simon Wright
2005-11-24  5:51           ` Anonymous Coward
2005-11-24  2:26     ` Anonymous Coward
2005-11-24 11:55       ` Jerome Hugues
2005-11-24 14:19         ` Samuel Tardieu
2005-11-24 16:21           ` Anonymous Coward
2005-11-24 20:27             ` Georg Bauhaus
2005-11-26  7:10             ` Simon Wright
2005-11-24 19:41       ` Martin Krischik
2005-11-24 21:50         ` Anonymous Coward
2005-11-25 18:18           ` Martin Krischik
2005-11-23 23:50   ` Anonymous Coward
2005-11-24  0:46     ` Georg Bauhaus
2005-11-24  2:30       ` Anonymous Coward
2005-11-24  3:39         ` Georg Bauhaus
2005-11-24 19:34     ` Martin Krischik
2005-11-23 17:43 ` Martin Krischik
2005-11-24 12:48 ` Simon Clubley [this message]
replies disabled

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