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]
Other format: [Raw text]

[janitor patch] Drop vestiges of 14-character limit support


We don't have support for any hosts with the 14-character limit any more.
(And we don't have support for building on any such machines, for other
reasons.)

This removes the vestiges of support by removing some totally unused variables
in configure.in and config.gcc.

If someone's raring to add support for such a host, I suspect that they'll
need to do something more than the very rudimentary support here anyhow.
:-(

If this is used in a host which simply hasn't been integrated yet (but is
hoped to be integrated soon), by all means someone should tell me and I'll
drop the patch.

	* configure.in: Remove references to host_truncate_target.
	* configure: Regenerate.
	* config.gcc: Remove references to truncate_target,
	host_truncate_target.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.682
diff -u -r1.682 configure.in
--- configure.in	10 Jun 2003 00:52:10 -0000	1.682
+++ configure.in	10 Jun 2003 02:12:16 -0000
@@ -980,7 +980,6 @@
 host_xm_file=
 host_xm_defines=
 host_xmake_file=
-host_truncate_target=
 host_exeext=
 
 # Decode the host machine, then the target machine.
@@ -1178,11 +1177,6 @@
 # UNSORTED
 # --------
 
-# Truncate the target if necessary
-if test x$host_truncate_target != x; then
-	target=`echo $target | sed -e 's/\(..............\).*/\1/'`
-fi
-
 # Get the version trigger filename from the toplevel
 if test "${with_gcc_version_trigger+set}" = set; then
 	gcc_version_trigger=$with_gcc_version_trigger
@@ -3196,11 +3190,6 @@
 if test "x$str2" != x || test "x$str3" != x
 then
 	echo " ${str2}${str3}." 1>&2
-fi
-
-# Truncate the target if necessary
-if test x$host_truncate_target != x; then
-	target=`echo $target | sed -e 's/\(..............\).*/\1/'`
 fi
 
 # Configure the subdirectories
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.317
diff -u -r1.317 config.gcc
--- config.gcc	7 Jun 2003 17:11:37 -0000	1.317
+++ config.gcc	10 Jun 2003 02:12:31 -0000
@@ -140,10 +140,6 @@
 #  build_install_headers_dir
 #			Target to use when installing header files.
 #
-#  host_truncate_target
-#			Non-empty if the target name should be truncated
-#			on this host, due to filename length issues.
-#
 #  gdb_needs_out_file_path
 #			Set to yes if gdb needs a dir command with
 #			`dirname $out_file`.
@@ -186,10 +182,6 @@
 #			is installed, when this system is a build system,
 #			for build_install_headers_dir.
 #
-#  truncate_target	Non-empty if the target name should be truncated
-#			when this system is a host, due to filename length
-#			issues.  For host_truncate_target.
-#
 #  exeext		The suffix for executables on this system.
 #
 #  gnu_ld		Set to yes or no depending on whether the target
@@ -216,8 +208,6 @@
 target_cpu_default=
 # Set this to control how the header file directory is installed.
 install_headers_dir=install-headers-tar
-# Set this if directory names should be truncated to 14 characters.
-truncate_target=
 # Set this if gdb needs a dir command with `dirname $out_file`
 gdb_needs_out_file_path=
 # Set this if the build machine requires executables to have a
@@ -2643,7 +2633,6 @@
 		fi
 		host_xm_defines=$xm_defines
 		host_xmake_file="$xmake_file"
-		host_truncate_target=$truncate_target
 		host_extra_gcc_objs=$extra_gcc_objs
 		host_extra_objs=$extra_host_objs
 		host_exeext=$exeext


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