This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4 - gnatmake has wrong gcc name
- From: Joel Sherrill <joel at OARcorp dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: charlet at act-europe dot fr, gcc at gcc dot gnu dot org
- Date: Fri, 19 Mar 2004 10:21:51 -0600
- Subject: Re: gcc 3.4 - gnatmake has wrong gcc name
- Organization: OAR Corporation
- References: <10403191314.AA23893@vlsi1.ultra.nyu.edu>
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