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: Arnaud Charlet <charlet at ACT-Europe dot FR>
- To: Joel Sherrill <joel at OARcorp dot com>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>,charlet at act-europe dot fr, gcc at gcc dot gnu dot org
- Date: Fri, 19 Mar 2004 17:28:52 +0100
- Subject: Re: gcc 3.4 - gnatmake has wrong gcc name
- References: <10403191314.AA23893@vlsi1.ultra.nyu.edu> <405B1E1F.5030902@OARcorp.com>
> 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