This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building the Ada compiler... is http://gcc.gnu.org/install/build.html correct?


Arnaud Charlet writes:

> If this is still felt as a necessity, we would be glad to host the
> binaries contributed by other people on the libre site, although I
> guess this could also be done on the gcc.gnu.org site directly (whichever
> way is more convenient).

I think hosting them on gcc.gnu.org is the obvious solution for FSF
GCC/GNAT, but that's for the maintainers of that machine and the SC to
decide.

> Given that there have been a couple of releases with Ada included, and
> that more people have a pre-existing Ada set up, this issue may not be 
> as important as it used to be.

It is still quite hard to get there on non-GNU/Linux platforms: you have to
start bootstrapping from old GNAT 3.x binaries (like GNAT 3.11p for IRIX
5.3 to get to IRIX 6.[25], or GNAT 3.12p for Tru64 UNIX V4.0D to get to
V4.0F/V5.1B).  This gets especially convoluted when the GCC included in
those distributions miscompiles GCC 3.3/3.4 ;-(

Solaris (both SPARC and x86) is easier, fortunately, since ACT provides
reasonably recent binary distributions for SPARC and the x86 binary
distribution for Solaris 2.6 works reasonably well on newer releases due to
Sun's guarantee of binary compatibility.

I still think it shouldn't be upon the casual (or not so casual) end user
to go through all the necessary contortions.

> The Ada front-end is not at a stage where binary compatibility can be ensured
> for lots of various reasons, so I think the above concern is premature.
> Also, the provided binaries will only be provided to help
> people bootstrap gnat, they do not have to be binary compatible to
> build gnat properly.

Ok, I'll formally submit the patch shortly, together with test results.

> > * Unlike the other backends, GNAT isn't currently relocatable: if GCC/GNAT
> >   is built with the default prefix (/usr/local), but installed with make
> >   DESTDIR=<somedir>, I get the following error:
> 
> You simply need to set the environment variable GNAT_ROOT to <somedir>/usr/local

I consider this a workaround only, not a solution.  I'll submit a PR for
this issue.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]