This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.4 - gnatmake has wrong gcc name


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]