This is the mail archive of the gcc-patches@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]

[PATCH 2.95.4] Final version of EXECUTABLE_SUFFIX changes [was Re: [patch RFC]]




  Okeydokey, here's the final version, with the docs rewrite.  It's nice to
have this one out of the way at long last :)

  Tested on i686-pc-cygwin32 with make bootstrap and make check with no
regressions; also built as powerpc-wrs-vxworks cross. DTRT in both
cases.

  Bernd, how's this?

             DaveK  -- Happy April Fool's Day, everyone!

================================================================
2001-04-01 DJ Delorie <dj@redhat.com>, backported from HEAD by Dave Korn <davek-ml@ntlworld.com>

* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.

* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-dos.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/i386/xm-os2.h: Likewise.
* config/rs6000/xm-cygwin.h: Likewise.
* config/vax/xm-vms.h: Likewise.
* config/winnt/xm-winnt.h: Likewise.

* cccp.c (main): Use TARGET_OBJECT_SUFFIX instead of OBJECT_SUFFIX.
* cppinit.c (initialize_dependency_output): Likewise.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on 
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(convert_filename): Use TARGET_ suffixes throughout.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.
* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.


dj-suffix-final.diff


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