gcc 3.4 - gnatmake has wrong gcc name

Jim Wilson wilson@specifixinc.com
Fri Mar 19 12:31:00 GMT 2004


On Thu, 2004-03-18 at 23:53, Arnaud Charlet wrote:
> No particular feeling, except that it ought to be simple. We don't want to
> add too much extra complexity for a very marginal usage (and one unlikely
> to happen in practise on any Ada supported host).

Configure names with dots in them need to work.  Sometimes minor OS
revisions can contain significant changes.  We can't just tell people
that they can't use dots in configure names anymore if they want to use
Ada.

> We used to check for .exe, but changed that a while ago, because it didn't
> work under VMS (apparently because of version numbers), so this would likely
> create a regression under VMS.

Perhaps we should try a different tack here.  Find the "gnatmake" in the
program name and drop everything after that.  This assumes gnatmake will
never be renamed, but that doesn't seem like much of a risk.

Or alternatively, program in the target tuple at configure/compile
time.  That way you don't have to try to compute it at run time.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list