gcc 3.4 - gnatmake has wrong gcc name

Joel Sherrill joel@OARcorp.com
Fri Mar 19 17:07:00 GMT 2004


Richard Kenner wrote:

>     I don't know. I believe it's ";version", e.g. GCC.EXE;2, but I'm no
>     VMS expert.
> 
> That's correct.

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]$/''
   - do equivalent of "sed -e 's/.[eE][Xx][eE]$//'

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.

--joel



More information about the Gcc mailing list