gcc 3.4 - gnatmake has wrong gcc name

Arnaud Charlet charlet@ACT-Europe.FR
Fri Mar 19 17:24:00 GMT 2004


> So if I modified the code to do something like this, would it
> be OK algorithmically?
> 
>    - strip off directory portion ("basename")
>    - do equivalent of "sed -e 's/;[0-9]$/''

version number can go above 9 I believe.

>    - do equivalent of "sed -e 's/.[eE][Xx][eE]$//'

Modulo the version issue above, that would be fine I think.

> I still view this as not as robust as my patch
> against 3.10p which used program_transform_name
> and put more the real names in sdefault.adb.

I haven't seen your patch, so can't comment, but if you have a fixed set
of tool names in sdefault.adb, I don't like this approach: I prefer
a general approach, that accomodates any new tool easily.

Anyway, I don't see the point in mentioning/complaining about your 3.10p
patch, I don't think you've ever submitted it for inclusion, so you
can't expect it to be included by some magic in more recent versions.

Arno



More information about the Gcc mailing list