OSDN Git Service

2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 18:10:10 +0000 (18:10 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 18:10:10 +0000 (18:10 +0000)
* include/Makefile.am: Update target_ to host_.
* include/Makefile.in: Regenerate.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.

* config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68926 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/Makefile.in
libstdc++-v3/config/os/gnu-linux/os_defines.h
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in

index 3dbc8e8..80fbe63 100644 (file)
@@ -1,5 +1,14 @@
 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
 
+       * include/Makefile.am: Update target_ to host_.
+       * include/Makefile.in: Regenerate.
+       * src/Makefile.am: Same.
+       * src/Makefile.in: Regenerate.
+
+       * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
+       
+2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
+
        * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
        --enable-libstdcxx-debug-flags.
        (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
index 1df7b1a..714a095 100644 (file)
@@ -92,6 +92,8 @@ DEBUG_FLAGS = @DEBUG_FLAGS@
 DLLTOOL = @DLLTOOL@
 EXEEXT = @EXEEXT@
 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
+FPOS_H = @FPOS_H@
+FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
 GCJ = @GCJ@
 GCJFLAGS = @GCJFLAGS@
 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
index 21ea296..e917ced 100644 (file)
@@ -1,6 +1,6 @@
 // Specific definitions for GNU/Linux  -*- C++ -*-
 
-// Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 
 #include <features.h>
 
-#if !defined (__GLIBC__) || (__GLIBC__ == 2 && __GLIBC_MINOR__+ 0 == 0)
-
-// The types __off_t and __off64_t are not defined through <sys/types.h>
-// as _G_config assumes.  For libc5 and glibc 2.0 instead use
-// <gnu/types.h> and the old name for __off64_t.
-#include <gnu/types.h>
-typedef __loff_t __off64_t;
-
-// These systems have declarations mismatching those in libio.h by
-// omitting throw qualifiers.  Cleanest way out is to not provide
-// throw-qualifiers at all.  Defining it as empty here will make libio.h
-// not define it.
-#undef __THROW
-#define __THROW
-
-// Tell Glibc not to try to provide its own inline versions of
-// some math functions.  Those cause assembly-time clashes with
-// our definitions.
-#define __NO_MATH_INLINES
-
-#endif 
-
-#if defined __GLIBC__ && __GLIBC__ >= 2
 // We must not see the optimized string functions GNU libc defines.
+#if defined __GLIBC__ && __GLIBC__ >= 2
 #define __NO_STRING_INLINES
 #endif
 
index bf88735..4c62208 100644 (file)
@@ -315,38 +315,38 @@ else
 c_compatibility_headers_extra = 
 endif
 
-target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
-target_builddir = ./${target_alias}/bits
-target_headers = \
-       ${target_srcdir}/ctype_base.h \
-       ${target_srcdir}/ctype_inline.h \
-       ${target_srcdir}/ctype_noninline.h \
-       ${target_srcdir}/os_defines.h \
+host_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
+host_builddir = ./${host_alias}/bits
+host_headers = \
+       ${host_srcdir}/ctype_base.h \
+       ${host_srcdir}/ctype_inline.h \
+       ${host_srcdir}/ctype_noninline.h \
+       ${host_srcdir}/os_defines.h \
        ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
        ${glibcpp_srcdir}/@FPOS_INC_SRCDIR@/fpos.h 
 
-# Non-installed target_header files.
-target_headers_noinst = \
+# Non-installed host_header files.
+host_headers_noinst = \
        ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@
 
-# These target_headers_extra files are all built with ad hoc naming rules.
-target_headers_extra = \
-       ${target_builddir}/basic_file.h \
-       ${target_builddir}/c++config.h \
-       ${target_builddir}/c++io.h \
-       ${target_builddir}/c++locale.h \
-       ${target_builddir}/messages_members.h \
-       ${target_builddir}/time_members.h \
-       ${target_builddir}/codecvt_specializations.h
-
-thread_target_headers = \
-       ${target_builddir}/gthr.h \
-       ${target_builddir}/gthr-single.h \
-       ${target_builddir}/gthr-posix.h \
-       ${target_builddir}/gthr-default.h
-
-pch_input = ${target_builddir}/stdc++.h
-pch_output_builddir = ${target_builddir}/stdc++.h.gch
+# These host_headers_extra files are all built with ad hoc naming rules.
+host_headers_extra = \
+       ${host_builddir}/basic_file.h \
+       ${host_builddir}/c++config.h \
+       ${host_builddir}/c++io.h \
+       ${host_builddir}/c++locale.h \
+       ${host_builddir}/messages_members.h \
+       ${host_builddir}/time_members.h \
+       ${host_builddir}/codecvt_specializations.h
+
+thread_host_headers = \
+       ${host_builddir}/gthr.h \
+       ${host_builddir}/gthr-single.h \
+       ${host_builddir}/gthr-posix.h \
+       ${host_builddir}/gthr-default.h
+
+pch_input = ${host_builddir}/stdc++.h
+pch_output_builddir = ${host_builddir}/stdc++.h.gch
 pch_source = ${glibcpp_srcdir}/include/stdc++.h
 PCHFLAGS=-Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
 if GLIBCPP_BUILD_PCH
@@ -361,13 +361,13 @@ endif
 # CLEANFILES and all-local are kept up-to-date.
 allstamped = \
        stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
-       stamp-backward stamp-ext stamp-targe
+       stamp-backward stamp-ext stamp-hos
 
 # List of all files that are created by explicit building, editing, or
 # catenation.
 allcreated = \
-       ${target_builddir}/c++config.h \
-       ${thread_target_headers} \
+       ${host_builddir}/c++config.h \
+       ${thread_host_headers} \
        ${pch_build}
 
 # Here are the rules for building the headers
@@ -440,18 +440,18 @@ stamp-ext: ${ext_headers}
          echo `date` > stamp-ext ;\
        fi
 
-stamp-${target_alias}:
-       @if [ ! -d ${target_builddir} ]; then \
-         mkdir -p ${target_builddir} ;\
-         echo `date` > stamp-${target_alias} ;\
+stamp-${host_alias}:
+       @if [ ! -d ${host_builddir} ]; then \
+         mkdir -p ${host_builddir} ;\
+         echo `date` > stamp-${host_alias} ;\
        fi
 
-# Target includes static.
-# XXX Missing dependency info for {target_headers_extra}
-stamp-target: ${target_headers} ${target_headers_noinst} stamp-${target_alias}
-       @if [ ! -f stamp-target ]; then \
-         (cd ${target_builddir} ;\
-         @LN_S@ ${target_headers} . || true ;\
+# Host includes static.
+# XXX Missing dependency info for {host_headers_extra}
+stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
+       @if [ ! -f stamp-host ]; then \
+         (cd ${host_builddir} ;\
+         @LN_S@ ${host_headers} . || true ;\
          @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
@@ -459,13 +459,13 @@ stamp-target: ${target_headers} ${target_headers_noinst} stamp-${target_alias}
          @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CTIME_H@ time_members.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
-         echo `date` > stamp-target ; \
+         echo `date` > stamp-host ; \
        fi
 
-# Target includes dynamic.
-${target_builddir}/c++config.h: ${CONFIG_HEADER} \
+# Host includes dynamic.
+${host_builddir}/c++config.h: ${CONFIG_HEADER} \
                                ${glibcpp_srcdir}/include/bits/c++config \
-                               stamp-${target_alias}
+                               stamp-${host_alias}
        @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
        sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
            -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
@@ -474,30 +474,30 @@ ${target_builddir}/c++config.h: ${CONFIG_HEADER} \
            < ${CONFIG_HEADER} >> $@ ;\
        echo "#endif // _CPP_CPPCONFIG_" >>$@
 
-# Target includes for threads
+# Host includes for threads
 glibcpp_thread_h = @glibcpp_thread_h@
 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
 
-${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
+${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
        sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
            -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
            < ${toplevel_srcdir}/gcc/gthr.h > $@
 
-${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
-                                 stamp-${target_alias}
+${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
+                                 stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            < ${toplevel_srcdir}/gcc/gthr-single.h > $@
 
-${target_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
-                                  stamp-${target_alias}
+${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
+                                  stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
            < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
 
-${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
-                                  stamp-${target_alias}
+${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
+                                  stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
@@ -505,7 +505,7 @@ ${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
            < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
 
 # Build a precompiled C++ include, stdc++.h.gch.
-${pch_input}: ${allstamped} ${target_builddir}/c++config.h ${pch_source}
+${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
        touch ${pch_input}; \
        if [ ! -d "${pch_output_builddir}" ]; then \
          mkdir -p ${pch_output_builddir}; \
@@ -519,7 +519,7 @@ ${pch_input}: ${allstamped} ${target_builddir}/c++config.h ${pch_source}
 # components.  Yes, with minor differences, this is sheer duplication
 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
 # `$(mkinstalldirs)' instead of `mkdir -p'.  In particular,
-# target_headers_extra are taken out of the build tree staging area;
+# host_headers_extra are taken out of the build tree staging area;
 # the rest are taken from the original source tree.
 gxx_include_dir = @gxx_include_dir@
 
@@ -548,10 +548,10 @@ install-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
        for file in ${std_headers_rename}; do \
          $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
-       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${target_builddir}
-       for file in ${target_headers} ${target_headers_extra} \
-        ${thread_target_headers}; do \
-         $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${target_builddir}; done
+       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
+       for file in ${host_headers} ${host_headers_extra} \
+        ${thread_host_headers}; do \
+         $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
 
 install-pch:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
index 0233ca5..93369a3 100644 (file)
@@ -427,42 +427,42 @@ c_compatibility_headers = \
 @GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = @GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@${c_compatibility_headers}
 @GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra = 
 
-target_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
-target_builddir = ./${target_alias}/bits
-target_headers = \
-       ${target_srcdir}/ctype_base.h \
-       ${target_srcdir}/ctype_inline.h \
-       ${target_srcdir}/ctype_noninline.h \
-       ${target_srcdir}/os_defines.h \
+host_srcdir = ${glibcpp_srcdir}/@OS_INC_SRCDIR@
+host_builddir = ./${host_alias}/bits
+host_headers = \
+       ${host_srcdir}/ctype_base.h \
+       ${host_srcdir}/ctype_inline.h \
+       ${host_srcdir}/ctype_noninline.h \
+       ${host_srcdir}/os_defines.h \
        ${glibcpp_srcdir}/@ATOMICITY_INC_SRCDIR@/atomicity.h \
        ${glibcpp_srcdir}/@FPOS_INC_SRCDIR@/fpos.h 
 
 
-# Non-installed target_header files.
-target_headers_noinst = \
+# Non-installed host_header files.
+host_headers_noinst = \
        ${glibcpp_srcdir}/@CLOCALE_INTERNAL_H@
 
 
-# These target_headers_extra files are all built with ad hoc naming rules.
-target_headers_extra = \
-       ${target_builddir}/basic_file.h \
-       ${target_builddir}/c++config.h \
-       ${target_builddir}/c++io.h \
-       ${target_builddir}/c++locale.h \
-       ${target_builddir}/messages_members.h \
-       ${target_builddir}/time_members.h \
-       ${target_builddir}/codecvt_specializations.h
+# These host_headers_extra files are all built with ad hoc naming rules.
+host_headers_extra = \
+       ${host_builddir}/basic_file.h \
+       ${host_builddir}/c++config.h \
+       ${host_builddir}/c++io.h \
+       ${host_builddir}/c++locale.h \
+       ${host_builddir}/messages_members.h \
+       ${host_builddir}/time_members.h \
+       ${host_builddir}/codecvt_specializations.h
 
 
-thread_target_headers = \
-       ${target_builddir}/gthr.h \
-       ${target_builddir}/gthr-single.h \
-       ${target_builddir}/gthr-posix.h \
-       ${target_builddir}/gthr-default.h
+thread_host_headers = \
+       ${host_builddir}/gthr.h \
+       ${host_builddir}/gthr-single.h \
+       ${host_builddir}/gthr-posix.h \
+       ${host_builddir}/gthr-default.h
 
 
-pch_input = ${target_builddir}/stdc++.h
-pch_output_builddir = ${target_builddir}/stdc++.h.gch
+pch_input = ${host_builddir}/stdc++.h
+pch_output_builddir = ${host_builddir}/stdc++.h.gch
 pch_source = ${glibcpp_srcdir}/include/stdc++.h
 PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
 @GLIBCPP_BUILD_PCH_TRUE@pch_build = @GLIBCPP_BUILD_PCH_TRUE@${pch_input}
@@ -474,18 +474,18 @@ PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS)
 # CLEANFILES and all-local are kept up-to-date.
 allstamped = \
        stamp-std stamp-bits stamp-c_base stamp-c_compatibility \
-       stamp-backward stamp-ext stamp-targe
+       stamp-backward stamp-ext stamp-hos
 
 
 # List of all files that are created by explicit building, editing, or
 # catenation.
 allcreated = \
-       ${target_builddir}/c++config.h \
-       ${thread_target_headers} \
+       ${host_builddir}/c++config.h \
+       ${thread_host_headers} \
        ${pch_build}
 
 
-# Target includes for threads
+# Host includes for threads
 glibcpp_thread_h = @glibcpp_thread_h@
 uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
 
@@ -495,7 +495,7 @@ uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
 # components.  Yes, with minor differences, this is sheer duplication
 # of the staging rules above using $(INSTALL_DATA) instead of LN_S and
 # `$(mkinstalldirs)' instead of `mkdir -p'.  In particular,
-# target_headers_extra are taken out of the build tree staging area;
+# host_headers_extra are taken out of the build tree staging area;
 # the rest are taken from the original source tree.
 gxx_include_dir = @gxx_include_dir@
 
@@ -674,18 +674,18 @@ stamp-ext: ${ext_headers}
          echo `date` > stamp-ext ;\
        fi
 
-stamp-${target_alias}:
-       @if [ ! -d ${target_builddir} ]; then \
-         mkdir -p ${target_builddir} ;\
-         echo `date` > stamp-${target_alias} ;\
+stamp-${host_alias}:
+       @if [ ! -d ${host_builddir} ]; then \
+         mkdir -p ${host_builddir} ;\
+         echo `date` > stamp-${host_alias} ;\
        fi
 
-# Target includes static.
-# XXX Missing dependency info for {target_headers_extra}
-stamp-target: ${target_headers} ${target_headers_noinst} stamp-${target_alias}
-       @if [ ! -f stamp-target ]; then \
-         (cd ${target_builddir} ;\
-         @LN_S@ ${target_headers} . || true ;\
+# Host includes static.
+# XXX Missing dependency info for {host_headers_extra}
+stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
+       @if [ ! -f stamp-host ]; then \
+         (cd ${host_builddir} ;\
+         @LN_S@ ${host_headers} . || true ;\
          @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_H@ basic_file.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CSTDIO_H@ c++io.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CLOCALE_H@ c++locale.h || true ;\
@@ -693,13 +693,13 @@ stamp-target: ${target_headers} ${target_headers_noinst} stamp-${target_alias}
          @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_H@ messages_members.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CTIME_H@ time_members.h || true ;\
          @LN_S@ ${glibcpp_srcdir}/@CCODECVT_H@ codecvt_specializations.h || true);\
-         echo `date` > stamp-target ; \
+         echo `date` > stamp-host ; \
        fi
 
-# Target includes dynamic.
-${target_builddir}/c++config.h: ${CONFIG_HEADER} \
+# Host includes dynamic.
+${host_builddir}/c++config.h: ${CONFIG_HEADER} \
                                ${glibcpp_srcdir}/include/bits/c++config \
-                               stamp-${target_alias}
+                               stamp-${host_alias}
        @cat ${glibcpp_srcdir}/include/bits/c++config > $@ ;\
        sed -e 's/HAVE_/_GLIBCPP_HAVE_/g' \
            -e 's/PACKAGE/_GLIBCPP_PACKAGE/g' \
@@ -708,26 +708,26 @@ ${target_builddir}/c++config.h: ${CONFIG_HEADER} \
            < ${CONFIG_HEADER} >> $@ ;\
        echo "#endif // _CPP_CPPCONFIG_" >>$@
 
-${target_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${target_alias}
+${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
        sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCPP_\1/g' \
            -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
            < ${toplevel_srcdir}/gcc/gthr.h > $@
 
-${target_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
-                                 stamp-${target_alias}
+${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \
+                                 stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            < ${toplevel_srcdir}/gcc/gthr-single.h > $@
 
-${target_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
-                                  stamp-${target_alias}
+${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \
+                                  stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
            < ${toplevel_srcdir}/gcc/gthr-posix.h > $@
 
-${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
-                                  stamp-${target_alias}
+${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
+                                  stamp-${host_alias}
        sed -e 's/\(UNUSED\)/_GLIBCPP_\1/g' \
            -e 's/\(GCC${uppercase}*_H\)/_GLIBCPP_\1/g' \
            -e 's/\(${uppercase}*WEAK\)/_GLIBCPP_\1/g' \
@@ -735,7 +735,7 @@ ${target_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcpp_thread_h} \
            < ${toplevel_srcdir}/gcc/${glibcpp_thread_h} > $@
 
 # Build a precompiled C++ include, stdc++.h.gch.
-${pch_input}: ${allstamped} ${target_builddir}/c++config.h ${pch_source}
+${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source}
        touch ${pch_input}; \
        if [ ! -d "${pch_output_builddir}" ]; then \
          mkdir -p ${pch_output_builddir}; \
@@ -768,10 +768,10 @@ install-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
        for file in ${std_headers_rename}; do \
          $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
-       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${target_builddir}
-       for file in ${target_headers} ${target_headers_extra} \
-        ${thread_target_headers}; do \
-         $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${target_builddir}; done
+       $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir}
+       for file in ${host_headers} ${host_headers_extra} \
+        ${thread_host_headers}; do \
+         $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done
 
 install-pch:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}
index a3aabfc..2dbf697 100644 (file)
@@ -71,8 +71,8 @@ INCLUDES = \
        $(TOPLEVEL_INCLUDES)
 
 # Source files linked in via configuration/make substitution for a
-# particular target.
-target_sources = \
+# particular host.
+host_sources = \
        codecvt_members.cc \
        collate_members.cc \
        ctype_members.cc \
@@ -103,8 +103,8 @@ time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
        @LN_S@ ${glibcpp_srcdir}/@CTIME_CC@ . || true
 
 # Source files linked in via configuration/make substitution for a
-# particular target, but with ad hoc naming rules.
-target_sources_extra = \
+# particular host, but with ad hoc naming rules.
+host_sources_extra = \
        basic_file.cc \
        c++locale.cc 
 
@@ -142,8 +142,8 @@ sources = \
        strstream.cc \
        valarray-inst.cc \
        wstring-inst.cc \
-       ${target_sources} \
-       ${target_sources_extra}
+       ${host_sources} \
+       ${host_sources_extra}
 
 VPATH = $(top_srcdir)/src:$(top_srcdir)
 
index 5604055..764da3f 100644 (file)
@@ -90,6 +90,8 @@ DEBUG_FLAGS = @DEBUG_FLAGS@
 DLLTOOL = @DLLTOOL@
 EXEEXT = @EXEEXT@
 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
+FPOS_H = @FPOS_H@
+FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
 GCJ = @GCJ@
 GCJFLAGS = @GCJFLAGS@
 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
@@ -177,8 +179,8 @@ INCLUDES = \
 
 
 # Source files linked in via configuration/make substitution for a
-# particular target.
-target_sources = \
+# particular host.
+host_sources = \
        codecvt_members.cc \
        collate_members.cc \
        ctype_members.cc \
@@ -189,8 +191,8 @@ target_sources = \
 
 
 # Source files linked in via configuration/make substitution for a
-# particular target, but with ad hoc naming rules.
-target_sources_extra = \
+# particular host, but with ad hoc naming rules.
+host_sources_extra = \
        basic_file.cc \
        c++locale.cc 
 
@@ -223,8 +225,8 @@ sources = \
        strstream.cc \
        valarray-inst.cc \
        wstring-inst.cc \
-       ${target_sources} \
-       ${target_sources_extra}
+       ${host_sources} \
+       ${host_sources_extra}
 
 
 VPATH = $(top_srcdir)/src:$(top_srcdir)