vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...
authorDJ Delorie <dj@redhat.com>
Thu, 19 Apr 2001 20:28:05 +0000 (16:28 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Thu, 19 Apr 2001 20:28:05 +0000 (16:28 -0400)
commit45936a85bc20fdfa776dbd17069c941806b45420
treecf6e83402e0ab4fcad7565cb7dd117ec00d26693
parent57883c536c6b7c02f5a1af6dc734b8000ad170e2
vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...

* 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/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.

* 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-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.

* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* 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.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout.  Remove
NO_AUTO_EXE_SUFFIX.
(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.  Remove
documentation for NO_AUTO_EXE_SUFFIX.

From-SVN: r41428
16 files changed:
gcc/ChangeLog
gcc/collect2.c
gcc/config/alpha/vms.h
gcc/config/alpha/xm-vms.h
gcc/config/i386/cygwin.h
gcc/config/i386/djgpp.h
gcc/config/i386/mingw32.h
gcc/config/i386/xm-cygwin.h
gcc/config/i386/xm-djgpp.h
gcc/config/i386/xm-mingw32.h
gcc/config/vax/vms.h
gcc/config/vax/xm-vms.h
gcc/gcc.c
gcc/gcc.texi
gcc/java/lang.c
gcc/mkdeps.c