comp.lang.ada
 help / color / mirror / Atom feed
* Help installing GCC/GNAT 4.0.2
@ 2005-11-23  4:08 Anonymous Coward
  2005-11-23  9:36 ` Georg Bauhaus
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Anonymous Coward @ 2005-11-23  4:08 UTC (permalink / raw)


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
   % make bootstrap
   % make install

It built a non-Ada version of GCC that cannot compile *.ad[sb] files,
and there is no gnatmake, gnatbind, or gnatlink provided.  The
installation notes don't require any specific action to get Ada.
There is only a special case for admins that want to withhold Ada, so
I was expecting it to come automatically.  

Any ideas?

The Ada prereqs in the install guide state:

   In order to build GNAT, the Ada compiler, you need a working GNAT
   compiler (GNAT version 3.14 or later, or GCC version 3.1 or later),
   including GNAT tools such as gnatmake and gnatlink, since the Ada
   front end is written in Ada (with some GNAT-specific extensions),
   and GNU make.

I believe I meet these requirements.  My original version of GCC
compiled Ada code, it just didn't support Ada in GDB.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  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 23:50   ` Anonymous Coward
  2005-11-23 17:43 ` Martin Krischik
  2005-11-24 12:48 ` Simon Clubley
  2 siblings, 2 replies; 23+ messages in thread
From: Georg Bauhaus @ 2005-11-23  9:36 UTC (permalink / raw)


Anonymous Coward wrote:
> 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
>    % make bootstrap
>    % make install
>

What does config.status in the build directory say about
enabled languages?



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23  9:36 ` Georg Bauhaus
@ 2005-11-23 10:47   ` Jerome Hugues
  2005-11-23 11:23     ` Tapio Kelloniemi
  2005-11-24  2:26     ` Anonymous Coward
  2005-11-23 23:50   ` Anonymous Coward
  1 sibling, 2 replies; 23+ messages in thread
From: Jerome Hugues @ 2005-11-23 10:47 UTC (permalink / raw)


In article <43843808$0$20855$9b4e6d93@newsread2.arcor-online.net>, Georg Bauhaus wrote:
> Anonymous Coward wrote:
>> 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
>>    % make bootstrap
>>    % make install
>>
> 
> What does config.status in the build directory say about
> enabled languages?

The documentation is clear:

--enable-languages=lang1,lang2,...

[..]

If you do not pass this flag, or specify the option all, then all
default languages available in the gcc sub-tree will be
configured. Ada, Objective-C++, and treelang are not default
languages;

==> you have to explicitely indicate you want Ada

-- 
Jerome



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23 10:47   ` Jerome Hugues
@ 2005-11-23 11:23     ` Tapio Kelloniemi
  2005-11-24  4:10       ` Anonymous Coward
  2005-11-24  2:26     ` Anonymous Coward
  1 sibling, 1 reply; 23+ messages in thread
From: Tapio Kelloniemi @ 2005-11-23 11:23 UTC (permalink / raw)


Anonymous Coward wrote:
> 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 Found
>ation, Inc.
>    GNATBIND 3.2.2 20030222 (3.2.2-4) Copyright 1995-2001 Free Software Found
>ation, Inc.
>
> I attempted to install the latest GNAT from gcc-4.0.2.tar.bz2, as follows:

You should not use GCC-4.0.2, but the current cvs (gcc-4_0-branch),
since it has some bugs fixed. IIRC, there is some Ada-related update also.

>    % mkdir /usr/local/src/gcc-4.0.2/obj
>    % cd !$
>    % ../configure
>    % make bootstrap
>    % make install

Remember to change ownership and permissions of
/usr/lib/gcc/.../ada{include,lib}/*. They are not what you wouuld
like them to be (should be 0644 for files, except 0755 for shared libraries,
but at least on my build .ali-files were 0400).

-- 
Tapio



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23  4:08 Help installing GCC/GNAT 4.0.2 Anonymous Coward
  2005-11-23  9:36 ` Georg Bauhaus
@ 2005-11-23 17:43 ` Martin Krischik
  2005-11-24 12:48 ` Simon Clubley
  2 siblings, 0 replies; 23+ messages in thread
From: Martin Krischik @ 2005-11-23 17:43 UTC (permalink / raw)


Anonymous Coward wrote:

> Any ideas?

I run a wiki on the subject:

http://ada.krischik.com/index.php/Articles/CompileGNATGPL

Maybe it is of help. If you have any improvements or special notes for
red-hat don't hesitate to hit the edit button.

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23  9:36 ` Georg Bauhaus
  2005-11-23 10:47   ` Jerome Hugues
@ 2005-11-23 23:50   ` Anonymous Coward
  2005-11-24  0:46     ` Georg Bauhaus
  2005-11-24 19:34     ` Martin Krischik
  1 sibling, 2 replies; 23+ messages in thread
From: Anonymous Coward @ 2005-11-23 23:50 UTC (permalink / raw)


In article <43843808$0$20855$9b4e6d93@newsread2.arcor-online.net>, Georg Bauhaus wrote:
> Anonymous Coward wrote:
>> 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
>>    % make bootstrap
>>    % make install
>>
> 
> What does config.status in the build directory say about
> enabled languages?

I don't see Ada in there:

% grep -i languages config.status

																															       # ../configure   --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc
																															           echo "running ${CONFIG_SHELL-/bin/sh} ../configure   --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc --no-create --no-recursion"
																															           exec ${CONFIG_SHELL-/bin/sh} ../configure   --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc --no-create --no-recursion ;;
																															       s%@stage1_languages@%c%g
																															       s%@build_configargs@%--cache-file=../config.cache --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc --program-transform-name='s,y,y,'%g
																															       s%@host_configargs@%--cache-file=./config.cache --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu  --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc --program-transform-name='s,y,y,'%g
																															       s%@target_configargs@%--cache-file=./config.cache --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --enable-multilib --with-gcc-version-trigger=/usr/local/src/gcc-4.0.2/gcc/version.c --enable-languages=c,c++,java,objc --program-transform-name='s,y,y,'%g



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23 23:50   ` Anonymous Coward
@ 2005-11-24  0:46     ` Georg Bauhaus
  2005-11-24  2:30       ` Anonymous Coward
  2005-11-24 19:34     ` Martin Krischik
  1 sibling, 1 reply; 23+ messages in thread
From: Georg Bauhaus @ 2005-11-24  0:46 UTC (permalink / raw)


Anonymous Coward wrote:

>>What does config.status in the build directory say about
>>enabled languages?

Aha. Combine this with the explanation given by Jerome Hugues.
Then a suitable invocation of configure is, e.g.

$ .../configure --enable-languages=c,ada,c++,fortran

BTW, GCC 4.1 ist worth a try. It supports more of Ada 2005.





^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23 10:47   ` Jerome Hugues
  2005-11-23 11:23     ` Tapio Kelloniemi
@ 2005-11-24  2:26     ` Anonymous Coward
  2005-11-24 11:55       ` Jerome Hugues
  2005-11-24 19:41       ` Martin Krischik
  1 sibling, 2 replies; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24  2:26 UTC (permalink / raw)


In article <slrndo8i6m.1ef.hugues@merlin.enst.fr>, Jerome Hugues wrote:
>
> --enable-languages=lang1,lang2,...
> 
> [..]
> 
> If you do not pass this flag, or specify the option all, then all
> default languages available in the gcc sub-tree will be
> configured. Ada, Objective-C++, and treelang are not default
> languages;

I tried these commands:

   % ../configure --enable-languages=all
   % make bootstrap
   % make install

and still no Ada.  Someone else mentioned that I might have grabbed
the wrong file.. maybe this package doesn't have gnat.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  0:46     ` Georg Bauhaus
@ 2005-11-24  2:30       ` Anonymous Coward
  2005-11-24  3:39         ` Georg Bauhaus
  0 siblings, 1 reply; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24  2:30 UTC (permalink / raw)


In article <43850d48$0$20856$9b4e6d93@newsread2.arcor-online.net>, Georg Bauhaus wrote:
> Anonymous Coward wrote:
> 
>>>What does config.status in the build directory say about
>>>enabled languages?
> 
> Aha. Combine this with the explanation given by Jerome Hugues.
> Then a suitable invocation of configure is, e.g.
> 
> $ .../configure --enable-languages=c,ada,c++,fortran
> 
> BTW, GCC 4.1 ist worth a try. It supports more of Ada 2005.

It is, or is not?  I'll try to track it down.  Since this is for home,
I want the bleeding edge version.  I thought 4.0.2 was the latest.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  2:30       ` Anonymous Coward
@ 2005-11-24  3:39         ` Georg Bauhaus
  0 siblings, 0 replies; 23+ messages in thread
From: Georg Bauhaus @ 2005-11-24  3:39 UTC (permalink / raw)


On Thu, 2005-11-24 at 02:30 +0000, Anonymous Coward wrote:

> > BTW, GCC 4.1 ist worth a try. It supports more of Ada 2005.
> 
> It is, or is not?

It is.

>   I'll try to track it down.  Since this is for home,
> I want the bleeding edge version.  I thought 4.0.2 was the latest.

The latest is 4.2. The snapshot qualification "experimental" seems
apt. Chances are that you cannot successfully build and then check
the compiler. This changes from one day to the next.

GCC 4.1 OTOH is the current release series, fixes are still
beeing added, including Ada ones, to reduce the number of regressions.
http://gcc.gnu.org/ml/gcc/2005-10/msg00210.html





^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23 11:23     ` Tapio Kelloniemi
@ 2005-11-24  4:10       ` Anonymous Coward
  2005-11-24  5:15         ` Simon Wright
  0 siblings, 1 reply; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24  4:10 UTC (permalink / raw)


In article <%iYgf.12362$nG5.3500@reader1.news.jippii.net>, Tapio Kelloniemi wrote:
> 
> You should not use GCC-4.0.2, but the current cvs (gcc-4_0-branch),
> since it has some bugs fixed. IIRC, there is some Ada-related update
> also.

Where do I find that version?

>>    % mkdir /usr/local/src/gcc-4.0.2/obj
>>    % cd !$
>>    % ../configure
>>    % make bootstrap
>>    % make install
> 
> Remember to change ownership and permissions of
> /usr/lib/gcc/.../ada{include,lib}/*. They are not what you wouuld
> like them to be (should be 0644 for files, except 0755 for shared libraries,
> but at least on my build .ali-files were 0400).

Thanks for bringing that to my attention.  All the ada files in
adainclude were readonly.  That may have been part of my problem.

It's hard to find different versions of gnat.  I'll just try to make
4.0.2 work for now.  It fails if I rebuild in a "dirty" object
folder.. which is a bummer, considering make is supposed to know what
to rebuild.  I wiped out the folder and I'm going from scratch with
just the ada inclusion.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  4:10       ` Anonymous Coward
@ 2005-11-24  5:15         ` Simon Wright
  2005-11-24  5:51           ` Anonymous Coward
  0 siblings, 1 reply; 23+ messages in thread
From: Simon Wright @ 2005-11-24  5:15 UTC (permalink / raw)


Anonymous Coward <spam@spam.com> writes:

> In article <%iYgf.12362$nG5.3500@reader1.news.jippii.net>, Tapio Kelloniemi wrote:

>> Remember to change ownership and permissions of
>> /usr/lib/gcc/.../ada{include,lib}/*. They are not what you wouuld
>> like them to be (should be 0644 for files, except 0755 for shared
>> libraries, but at least on my build .ali-files were 0400).
>
> Thanks for bringing that to my attention.  All the ada files in
> adainclude were readonly.  That may have been part of my problem.

They are meant to be read-only. Tapio's point was that the
adalib/*.ali files were only readable by root; they need to be
world-readable and not writable, so 0444 would be reasonable, or 0644
if you never compile Ada as root!



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  5:15         ` Simon Wright
@ 2005-11-24  5:51           ` Anonymous Coward
  0 siblings, 0 replies; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24  5:51 UTC (permalink / raw)


In article <m2psoqy6br.fsf@grendel.local>, Simon Wright wrote:
> 
> They are meant to be read-only. Tapio's point was that the
> adalib/*.ali files were only readable by root; they need to be
> world-readable and not writable, so 0444 would be reasonable, or
> 0644 if you never compile Ada as root!

All the files in both of those folders were world readable, so
apparently this issue was fixed in RH9.



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  2:26     ` Anonymous Coward
@ 2005-11-24 11:55       ` Jerome Hugues
  2005-11-24 14:19         ` Samuel Tardieu
  2005-11-24 19:41       ` Martin Krischik
  1 sibling, 1 reply; 23+ messages in thread
From: Jerome Hugues @ 2005-11-24 11:55 UTC (permalink / raw)


In article <slrndoagb4.2v0.bogus_addy@tango.mindfuq.org>, Anonymous Coward wrote:
> In article <slrndo8i6m.1ef.hugues@merlin.enst.fr>, Jerome Hugues wrote:
>>
>> --enable-languages=lang1,lang2,...
>> 
>> [..]
>> 
>> If you do not pass this flag, or specify the option all, then all
>> default languages available in the gcc sub-tree will be
>> configured. Ada, Objective-C++, and treelang are not default
>> languages;
> 
> I tried these commands:
> 
>    % ../configure --enable-languages=all

"all" means all default language, this excludes Ada.

you should explicitely states --enable-language=ada, <others>

>    % make bootstrap
>    % make install
> 
> and still no Ada.  Someone else mentioned that I might have grabbed
> the wrong file.. maybe this package doesn't have gnat.

Search for an "ada" subdirectory in your source tree.
You should have it in <something>/gcc/ada

I did compile it, but cannot remember if I had also to do 
make gnatlib and make gnattools .. 

-- 
Jerome



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23  4:08 Help installing GCC/GNAT 4.0.2 Anonymous Coward
  2005-11-23  9:36 ` Georg Bauhaus
  2005-11-23 17:43 ` Martin Krischik
@ 2005-11-24 12:48 ` Simon Clubley
  2 siblings, 0 replies; 23+ messages in thread
From: Simon Clubley @ 2005-11-24 12:48 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24 11:55       ` Jerome Hugues
@ 2005-11-24 14:19         ` Samuel Tardieu
  2005-11-24 16:21           ` Anonymous Coward
  0 siblings, 1 reply; 23+ messages in thread
From: Samuel Tardieu @ 2005-11-24 14:19 UTC (permalink / raw)


>>>>> "Jerome" == Jerome Hugues <hugues@nephilim.enst.fr> writes:

Jerome> I did compile it, but cannot remember if I had also to do make
Jerome> gnatlib and make gnattools ..

Yes, you have to do a "make gnatlib_and_tools" (for a native
configuration) in the gcc subdirectory.

Anonymous Coward trying to build GNAT: all this is clearly indicated
in the documentation found in the gcc/doc subdirectory.

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  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
  0 siblings, 2 replies; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24 16:21 UTC (permalink / raw)


In article <87irui1639.fsf@willow.rfc1149.net>, Samuel Tardieu wrote:
> 
> Yes, you have to do a "make gnatlib_and_tools" (for a native
> configuration) in the gcc subdirectory.

I think the "make gnatlib_and_tools" may no longer be necessary.  I
followed the beaten path, did an Ada only install, and I ended up with
what appears to be a complete gnat tool set.  Then I tried that
command anyway just out of curiosity:

  # make gnatlib_and_tools
  make: *** No rule to make target `gnatlib_and_tools'.  Stop.

The only tool that appears to be missing is GDB.  I imagine that's a
seperate package that I have to download.

> Anonymous Coward trying to build GNAT: all this is clearly indicated
> in the documentation found in the gcc/doc subdirectory.

I think these installation instructions are in a flux.  Someone said
they could be found in ./doc, but there is no such folder in 4.0.2.
There is a ./INSTALL folder, but those procedures made it appear that
Ada would be installed automatically.  One would have to read through
all the switches to have discovered that Ada needed special
attention.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-23 23:50   ` Anonymous Coward
  2005-11-24  0:46     ` Georg Bauhaus
@ 2005-11-24 19:34     ` Martin Krischik
  1 sibling, 0 replies; 23+ messages in thread
From: Martin Krischik @ 2005-11-24 19:34 UTC (permalink / raw)


Anonymous Coward wrote:

> I don't see Ada in there:
> 
> % grep -i languages config.status

Your search is to narrow:

find . -name config.status -exec grep -i languages '{}' ';'

Martin

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24  2:26     ` Anonymous Coward
  2005-11-24 11:55       ` Jerome Hugues
@ 2005-11-24 19:41       ` Martin Krischik
  2005-11-24 21:50         ` Anonymous Coward
  1 sibling, 1 reply; 23+ messages in thread
From: Martin Krischik @ 2005-11-24 19:41 UTC (permalink / raw)


Anonymous Coward wrote:

> I tried these commands:
> 
>    % ../configure --enable-languages=all
>    % make bootstrap
>    % make install

make -C gcc gnatlib-shared gnattools;

> and still no Ada.  Someone else mentioned that I might have grabbed
> the wrong file.. maybe this package doesn't have gnat.

I told you look at my Webside:

http://ada.krischik.com/index.php/Articles/CompileGcc

Martin

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24 16:21           ` Anonymous Coward
@ 2005-11-24 20:27             ` Georg Bauhaus
  2005-11-26  7:10             ` Simon Wright
  1 sibling, 0 replies; 23+ messages in thread
From: Georg Bauhaus @ 2005-11-24 20:27 UTC (permalink / raw)


On Thu, 2005-11-24 at 16:21 +0000, Anonymous Coward wrote:


> I think these installation instructions are in a flux.  Someone said
> they could be found in ./doc, 

try ./gcc/doc





^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24 19:41       ` Martin Krischik
@ 2005-11-24 21:50         ` Anonymous Coward
  2005-11-25 18:18           ` Martin Krischik
  0 siblings, 1 reply; 23+ messages in thread
From: Anonymous Coward @ 2005-11-24 21:50 UTC (permalink / raw)


In article <11452656.7tOUudNtjB@linux1.krischik.com>, 
Martin Krischik wrote:
> > I don't see Ada in there:
> >
> > % grep -i languages config.status

> Your search is to narrow:

> find . -name config.status -exec grep -i languages '{}' ';'

I actually did the find command as a seperate step, and grep showed
the default languages (no Ada).  For some reason slrn screwed up my
post, and truncated the output that I pasted into the body.  I'm not
sure why that happened.  

But anyway, it turned out my problem was failure to explicitly list
"ada" in the enable-languages switch.

> Anonymous Coward wrote:
> 
>> I tried these commands:
>> 
>>    % ../configure --enable-languages=all
>>    % make bootstrap
>>    % make install
> 
> make -C gcc gnatlib-shared gnattools;
> 
>> and still no Ada.  Someone else mentioned that I might have grabbed
>> the wrong file.. maybe this package doesn't have gnat.
> 
> I told you look at my Webside:
> 
> http://ada.krischik.com/index.php/Articles/CompileGcc

I noticed that; and I appreciate the reference.  

I wanted to make what I had work first.  If that failed, the backup
plan was to go with a later version yet.

Thanks for the help folks!



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24 21:50         ` Anonymous Coward
@ 2005-11-25 18:18           ` Martin Krischik
  0 siblings, 0 replies; 23+ messages in thread
From: Martin Krischik @ 2005-11-25 18:18 UTC (permalink / raw)


Anonymous Coward wrote:

> I noticed that; and I appreciate the reference.
> 
> I wanted to make what I had work first.  If that failed, the backup
> plan was to go with a later version yet.

BTW: It's a Wiki and the [edit] link does actually work as expected :-). You
can even add a new page (CompileGNATonFedora) if you like.

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Help installing GCC/GNAT 4.0.2
  2005-11-24 16:21           ` Anonymous Coward
  2005-11-24 20:27             ` Georg Bauhaus
@ 2005-11-26  7:10             ` Simon Wright
  1 sibling, 0 replies; 23+ messages in thread
From: Simon Wright @ 2005-11-26  7:10 UTC (permalink / raw)


Anonymous Coward <anonymous@coward.org> writes:

> In article <87irui1639.fsf@willow.rfc1149.net>, Samuel Tardieu wrote:
>> 
>> Yes, you have to do a "make gnatlib_and_tools" (for a native
>> configuration) in the gcc subdirectory.
>
> I think the "make gnatlib_and_tools" may no longer be necessary.  I
> followed the beaten path, did an Ada only install, and I ended up with
> what appears to be a complete gnat tool set.  Then I tried that
> command anyway just out of curiosity:
>
>   # make gnatlib_and_tools
>   make: *** No rule to make target `gnatlib_and_tools'.  Stop.

At one point it was
   $ make -C gcc gnatlib gnattools



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2005-11-26  7:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox