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 Sat, May 10, 2003 at 10:28:18PM -0400, DJ Delorie wrote:
> > I think that generally you'll want the same transformation on the
> > installed compiler that you have on the existing tools...
> I agree.  I'm just thinking that there's usually an amusing story
> about how these things got in there in the first place, and I'd rather
> know the story is no longer pertinent than just guess.

Just for giggles, I went looking for the introduction of this variable.
It came in:

Thu Nov 17 20:46:15 1994  Doug Evans  <>

        VxWorks support from various people at Cygnus.
        * config.sub: Vendor for vxworks is wrs.
        * configure (i960-wrs-vxworks*): New target.
        (m68k-wrs-vxworks*): New target.
        (sparc-wrs-vxworks*, sparclite-wrs-vxworks*): New targets.
        * i960/t-vxworks960, i960/vx960-coff.h, i960/vx960.h: New files.
        * m68k/t-vxworks68, m68k/vxm68k.h: New files.
        * sparc/t-vxsparc, sparc/vxsparc.h: New files.

        * h8300/h8300.h (DBX_DEBUGGING_INFO): Define.

        * configure (--program-prefix, --program-suffix,
        --program-transform-name, -v, -verbose): New arguments.
        (as): If gas is in build tree, use it.
        (ld, real-ld): Likewise but watch for use_collect.
        (program_transform_name): Update Makefile if
        --program-transform-name given.
        (program_transform_cross_name): Likewise.
        * (program_transform_name): Define.
        (program_transform_cross_name): Define.
        (install-common): Use them.
        (install-man): Likewise.
        (distclean): Delete *.asm.
        (stage*, risky-stage*): If as/ld/real-ld exist, copy them to stage dir.

It also had this interesting bit:
        # If using -program-transform-name, override the installation names.
        if [ "x${program_transform_set}" = "xyes" ] ; then
                sed -e "s/^program_transform_name[ ]*=.*$/program_transform_name = $program_transform_name/" \
                    -e "s/^program_transform_cross_name[ ]*=.*$/program_transform_cross_name = $program_transform_name/" \
                    Makefile.tem > Makefile.xx

i.e. program_transform_name defaulted to something different than
program_transform_cross_name, but --program-transform-name set both of

A wild guess suggests this changed at either:
Sun May 18 08:31:59 1997  Scott Christley <>

        * New file.
        * Change to utilize autoconf variables.
        * configure: Now an output file.


Tue Oct  7 10:01:45 1997  Chip Salzenberg  <>

        * (program_transform_name): Let autoconf substitute
        the correct value.


Fri Nov 21 15:20:05 1997  Jeffrey A Law  (

        * (program_transform_cross_name): Clean up "-e" confusion.

[Why aren't the old changelogs in the GCC source anyway?  We have
FSFChangeLog.10, FSFChangeLog.11, and FSFChangeLog (which comes after
.11).  The tarball has changelogs going back to 1988, version

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]