This is the mail archive of the 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: Configure option and program transform name

On Fri, May 09, 2003 at 09:50:49PM -0400, DJ Delorie wrote:
> > > This part is OK.  If you can, please make sure this change is
> > > committed to both gcc and src, since they're in sync.
> > 
> > I'll produce a patch for src.
> They're in sync.  One patch should work for both.
> > Another solution would be to use program_transform_name for both
> > native and cross compiler names.
> Does anyone know why we have two in the first place?  This is one of
> those cases where we're probably missing some subtle problem that they
> solve.

I don't think so in this case.  And this is the third or possibly
fourth time in the past three months that someone's suggested they
should have the same value...

Right now, program_transform_cross_name is the only way to change the
name of the installed GCC if you build a cross compiler.  And there's
no way to override it.  That's really pretty annoying :)

program_transform_name is used in gcc/ for the names of programs to
install, in the native case only.  program_transform_cross_name is used
in gcc/ to find defaults for AR/RANLIB/NM _FOR_TARGET and the names of
installed cross compilers.  I think that generally you'll want the same
transformation on the installed compiler that you have on the existing

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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