aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-08-31 19:00:39 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-08-31 19:00:39 +0000
commit5b28c537abefe105e691568407cc2ba301f9a704 (patch)
treeaf2632088463f063825c9908fa639d17bbfe0c99 /gcc/config.gcc
parentd9e27aedb6d02637efff40ed95ab0131100cb3db (diff)
downloadgcc-5b28c537abefe105e691568407cc2ba301f9a704.zip
gcc-5b28c537abefe105e691568407cc2ba301f9a704.tar.gz
gcc-5b28c537abefe105e691568407cc2ba301f9a704.tar.bz2
fragments.texi, [...]: Mention new file config.build.
* doc/fragments.texi, doc/sourcebuild.texi: Mention new file config.build. * config.build: New file. * config.gcc: Remove some build-specific stuff. * configure.in: Use config.build. * configure: Regnerate. From-SVN: r70965
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc58
1 files changed, 16 insertions, 42 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 3cee0ca..8c9a341 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1,4 +1,4 @@
-# GCC build-, host- and target-specific configuration file.
+# GCC host- and target-specific configuration file.
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
@@ -19,13 +19,13 @@
#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#02111-1307, USA.
-# This is the GCC build-, host- and target-specific configuration file
+# This is the GCC host- and target-specific configuration file
# where a configuration type, as recognized and generated by config.bfd,
# is mapped to different system-specific definitions and files. This is
-# invoked by the autoconf-generated configure script, called for build,
+# invoked by the autoconf-generated configure script, called for
# host and target in that order, setting ${machine} to each. Putting it
# in a separate shell file lets us skip running autoconf when modifying
-# build-, host- and target-specific information.
+# host- and target-specific information.
# This file switches on the shell variable ${machine}, and also uses the
# following shell variables:
@@ -114,12 +114,6 @@
#
# target_gtfiles List of extra source files with type information.
#
-# build_xm_defines List of macros to define when compiling for the
-# build machine.
-#
-# build_xm_file List of files to include when compiling for the
-# build machine.
-#
# host_xm_defines List of macros to define when compiling for the
# host machine.
#
@@ -137,16 +131,10 @@
#
# target_cpu_default Set to override the default target model.
#
-# build_install_headers_dir
-# Target to use when installing header files.
-#
# gdb_needs_out_file_path
# Set to yes if gdb needs a dir command with
# `dirname $out_file`.
#
-# build_exeext Set to the suffix, if the build machine requires
-# executables to have a file name suffix.
-#
# host_exeext Set to the suffix, if the host machine requires
# executables to have a file name suffix.
#
@@ -179,8 +167,7 @@
# host_hook_obj An object file that provides the host hooks.
#
# install_headers_dir Makefile-target for how the header file directory
-# is installed, when this system is a build system,
-# for build_install_headers_dir.
+# is installed.
#
# exeext The suffix for executables on this system.
#
@@ -2736,29 +2723,16 @@ then
fi
fi
-# Save data on machine being used to compile GCC in build_xm_file.
# Save data on host machine in vars host_xm_file and host_xmake_file.
-if test x$pass1done = x
-then
- if test x$xm_file != x
- then build_xm_file=$xm_file
- fi
- build_xm_defines=$xm_defines
- build_install_headers_dir=$install_headers_dir
- build_exeext=$exeext
- pass1done=yes
-else
- if test x$pass2done = x
- then
- if test x$xm_file != x
- then host_xm_file=$xm_file
- fi
- host_xm_defines=$xm_defines
- host_xmake_file="$xmake_file"
- host_extra_gcc_objs=$extra_gcc_objs
- host_extra_objs=$extra_host_objs
- host_exeext=$exeext
- out_host_hook_obj=$host_hook_obj
- pass2done=yes
- fi
+if test x$pass2done = x ; then
+ if test x$xm_file != x ; then
+ host_xm_file=$xm_file
+ fi
+ host_xm_defines=$xm_defines
+ host_xmake_file="$xmake_file"
+ host_extra_gcc_objs=$extra_gcc_objs
+ host_extra_objs=$extra_host_objs
+ host_exeext=$exeext
+ out_host_hook_obj=$host_hook_obj
+ pass2done=yes
fi