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]

syncing ./* with src



I've been working on re-syncing the top-level files (at least,
configure.* and Makefile).  The gcc end of the work (patches applied
only to src/*) looks like this (plus two new config/mh-s390* files).
I realize this is messy, but it's a messy problem.  Comments?  Anyone
see anything here that might affect them?  (FYI: the other way is much
messier)

2002-02-01  Mo DeJong  <supermo@bayarea.net>

	* Makefile.in: Add all-tix to deps for all-snavigator
	so that tix is built when building snavigator.

2002-01-11  Steve Ellcey  <sje@cup.hp.com>

	* configure.in (ia64*-*-hpux*): New target for IA64 HP-UX,
	ld and gdb are not supported.

2002-01-07  Mark Salter  <msalter@redhat.com>

	* configure.in: Remove target-bsp and target-cygmon from arm builds.
	Allow target-libgloss to be built for arm, strongarm, and xscale.

2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
	options for i[3456]86-pc-linux* native builds.

2001-11-20  Nick Clifton  <nickc@cambridge.redhat.com>

	* Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo
	files from .po files for a distribution.

2001-09-03  Jeff Holcomb  <jeffh@redhat.com>

	* configure.in: Enable libstdc++-v3 for h8300 targets.

2001-06-19  Alan Modra  <amodra@bigpond.net.au>

	* Makefile.in (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get
	version from bfd/.

Fri Jun  8 11:14:02 2001  Andrew Cagney  <cagney@b1.cygnus.com>

	* Makefile.in (VER): When present, extract the version number from
	the file version.in.

2001-05-24  Tom Rix <trix@redhat.com>

	* configure.in : enable ld for aix

2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* mh-s390pic: New file.
	* mt-s390pic: New file.

2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* config.guess: Add linux target for S/390.

2000-11-07  Philip Blundell  <pb@futuretv.com>

	* Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*.

2000-11-03  Philip Blundell  <pb@futuretv.com>

	* Makefile.in (ETC_SUPPORT): Add configure.texi and associated info
	files.

2001-01-15  Ben Elliston  <bje@redhat.com>

	* configure.in (host_tools): Add sid.
	Always configure cgen.

2000-11-24  Nick Clifton  <nickc@redhat.com>

	* configure.in (c4x, c5x, tic54x): Move after ARM targets.


2000-08-20  Doug Evans  <dje@casey.transmeta.com>

	* Makefile.in (ALL_MODULES): Add all-cgen.
	(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
	(all-cgen): New target.
	(all-opcodes,all-sim): Depend on all-cgen.
	* configure.in (host_tools): Add cgen.
	Only configure cgen if --enable-cgen-maint.


diff -p2 /greed/dj/gnu/gcc/gcc/Makefile.in ./Makefile.in
*** /greed/dj/gnu/gcc/gcc/Makefile.in	Wed Mar 13 04:01:40 2002
--- ./Makefile.in	Mon Apr  8 21:25:44 2002
*************** all-shellutils:
*** 1813,1817 ****
  all-sid: all-tcl all-tk
  all-sim: all-libiberty all-bfd all-opcodes all-readline all-cgen
! all-snavigator: all-tcl all-tk all-itcl all-db all-grep all-libgui
  all-tar: all-libiberty
  all-tcl:
--- 1813,1817 ----
  all-sid: all-tcl all-tk
  all-sim: all-libiberty all-bfd all-opcodes all-readline all-cgen
! all-snavigator: all-tcl all-tk all-itcl all-tix all-db all-grep all-libgui
  all-tar: all-libiberty
  all-tcl:
*************** DEVO_SUPPORT= README Makefile.in configu
*** 1894,1898 ****
  # distribution (perhaps it would be better to include it anyway).
  ETC_SUPPORT= Makefile.in configure configure.in standards.texi \
! 	make-stds.texi standards.info*
  
  # When you use `make setup-dirs' or `make taz' you should always redefine
--- 1894,1900 ----
  # distribution (perhaps it would be better to include it anyway).
  ETC_SUPPORT= Makefile.in configure configure.in standards.texi \
! 	make-stds.texi standards.info* configure.texi configure.info* \
! 	configbuild.* configdev.*
! 
  
  # When you use `make setup-dirs' or `make taz' you should always redefine
*************** SUPPORT_FILES = list-of-support-files-fo
*** 1902,1909 ****
  # NOTE: No double quotes in the below.  It is used within shell script
  # as VER="$(VER)"
! VER = `	if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
  	  sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
! 	else \
  	  sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
  	fi`
  PACKAGE = $(TOOL)
--- 1904,1917 ----
  # NOTE: No double quotes in the below.  It is used within shell script
  # as VER="$(VER)"
! VER = `	if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \
! 	  sed < bfd/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
! 	elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
  	  sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
! 	elif test -f $(TOOL)/version.in; then \
! 	  head -1 $(TOOL)/version.in; \
! 	elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \
  	  sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
+ 	else \
+ 	  echo VERSION; \
  	fi`
  PACKAGE = $(TOOL)
*************** taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) te
*** 1919,1929 ****
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-tar-bz2 \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
  
! .PHONY: gdb-taz
! gdb-taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
  	$(MAKE) -f Makefile.in do-proto-toplev \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
--- 1927,1941 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-tar \
! 		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
! 		MD5PROG="$(MD5PROG)" \
! 		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-bz2 \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
  
! .PHONY: gdb-tar
! gdb-tar: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
  	$(MAKE) -f Makefile.in do-proto-toplev \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
*************** gdb-taz: $(DEVO_SUPPORT) $(SUPPORT_FILES
*** 1938,1942 ****
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-tar-bz2 \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
  		MD5PROG="$(MD5PROG)" \
--- 1950,1965 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-tar \
! 		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
! 		MD5PROG="$(MD5PROG)" \
! 		SUPPORT_FILES="$(SUPPORT_FILES)"
! 
! .PHONY: gdb-taz
! gdb-taz: gdb-tar $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
! 	$(MAKE) -f Makefile.in gdb-tar \
! 		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
! 		MD5PROG="$(MD5PROG)" \
! 		SUPPORT_FILES="$(SUPPORT_FILES)"
! 	$(MAKE) -f Makefile.in do-bz2 \
  		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
  		MD5PROG="$(MD5PROG)" \
*************** do-proto-toplev: $(DEVO_SUPPORT) $(SUPPO
*** 1997,2009 ****
  	chmod -R og=u . || chmod og=u `find . -print`
  	#
  	-rm -f $(PACKAGE)-$(VER)
  	ln -s proto-toplev $(PACKAGE)-$(VER)
  
! .PHONY: do-tar-bz2
! do-tar-bz2:
! 	echo "==> Making $(PACKAGE)-$(VER).tar.bz2"
! 	-rm -f $(PACKAGE)-$(VER).tar.bz2
  	find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
  		| tar cTfh - $(PACKAGE)-$(VER).tar
  	$(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
  
--- 2020,2042 ----
  	chmod -R og=u . || chmod og=u `find . -print`
  	#
+ 	# Create .gmo files from .po files.
+ 	for f in `find . -name '*.po' -type f -print`; do \
+ 	     msgfmt -o `echo $$f | sed -e 's/\.po$$/.gmo/'` $$f ; \
+ 	done
+ 	#
  	-rm -f $(PACKAGE)-$(VER)
  	ln -s proto-toplev $(PACKAGE)-$(VER)
  
! .PHONY: do-tar
! do-tar:
! 	echo "==> Making $(PACKAGE)-$(VER).tar"
! 	-rm -f $(PACKAGE)-$(VER).tar
  	find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
  		| tar cTfh - $(PACKAGE)-$(VER).tar
+ 
+ .PHONY: do-bz2
+ do-bz2:
+ 	echo "==> Bzipping $(PACKAGE)-$(VER).tar.bz2"
+ 	-rm -f $(PACKAGE)-$(VER).tar.bz2
  	$(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
  
*************** gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPO
*** 2062,2068 ****
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
  
- .PHONY: dejagnu.tar.bz2
  DEJAGNU_SUPPORT_DIRS=  tcl expect libiberty
  dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
  	$(MAKE) -f Makefile.in taz TOOL=dejagnu \
--- 2095,2106 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
+ .PHONY: gdb.tar
+ gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
+ 	$(MAKE) -f Makefile.in gdb-tar TOOL=gdb \
+ 		MD5PROG="$(MD5PROG)" \
+ 		SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
  
  DEJAGNU_SUPPORT_DIRS=  tcl expect libiberty
+ .PHONY: dejagnu.tar.bz2
  dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
  	$(MAKE) -f Makefile.in taz TOOL=dejagnu \
*************** gdb+dejagnu.tar.bz2: $(DIST_SUPPORT) $(G
*** 2076,2079 ****
--- 2114,2122 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
+ .PHONY: gdb+dejagnu.tar
+ gdb+dejagnu.tar: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb
+ 	$(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE=gdb+dejagnu \
+ 		MD5PROG="$(MD5PROG)" \
+ 		SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
  
  .PHONY: insight.tar.bz2
*************** insight.tar.bz2: $(DIST_SUPPORT) $(GDB_S
*** 2083,2086 ****
--- 2126,2134 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
+ .PHONY: insight.tar
+ insight.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
+ 	$(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE=insight \
+ 		MD5PROG="$(MD5PROG)" \
+ 		SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
  
  .PHONY: insight+dejagnu.tar.bz2
*************** insight+dejagnu.tar.bz2: $(DIST_SUPPORT)
*** 2090,2093 ****
--- 2138,2146 ----
  		MD5PROG="$(MD5PROG)" \
  		SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
+ .PHONY: insight+dejagnu.tar
+ insight+dejagnu.tar: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb
+ 	$(MAKE) -f Makefile.in gdb-tar TOOL=gdb PACKAGE="insight+dejagnu" \
+ 		MD5PROG="$(MD5PROG)" \
+ 		SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
  
  .PHONY: newlib.tar.bz2
Common subdirectories: /greed/dj/gnu/gcc/gcc/config and ./config
diff -p2 /greed/dj/gnu/gcc/gcc/configure.in ./configure.in
*** /greed/dj/gnu/gcc/gcc/configure.in	Mon Apr  8 16:52:24 2002
--- ./configure.in	Mon Apr  8 21:23:56 2002
*************** libstdcxx_flags='`case $$dir in libstdc+
*** 56,60 ****
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
  # know that we are building the simulator.
! host_tools="texinfo byacc flex bison binutils ld gas gcc cgen sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip fastjar"
  
  # libgcj represents the runtime libraries only used by gcj.
--- 56,60 ----
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
  # know that we are building the simulator.
! host_tools="texinfo byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip fastjar"
  
  # libgcj represents the runtime libraries only used by gcj.
*************** if [ x${shared} = xyes ]; then
*** 329,332 ****
--- 329,335 ----
        host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
        ;;
+     s390-* | s390x-*)
+       host_makefile_frag="${host_makefile_frag} config/mh-s390pic"
+       ;;
      *-*-*)
        if test -f ${srcdir}/config/mh-${host_cpu}pic; then
*************** case "${target}" in
*** 684,708 ****
      noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
      ;;
-   arm-*-coff*)
-     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
-     if [ x${is_cross_compiler} != xno ] ; then
- 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
-     fi
-     ;;
-   arm-*-elf*)
-     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
-     if [ x${is_cross_compiler} != xno ] ; then
- 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
-     fi
-     ;;
    arm-*-oabi*)
      noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
      ;;
-   c4x-*-*)
-     noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
-     ;;
-   c54x*-*-* | tic54x-*-*)
-     noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss ${libgcj} gcc gdb newlib"
-     ;;
    thumb-*-coff)
      noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
--- 687,693 ----
*************** case "${target}" in
*** 715,740 ****
      ;;
    strongarm-*-elf)
!     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
!     if [ x${is_cross_compiler} != xno ] ; then
! 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
!     fi
      ;;
    strongarm-*-coff)
!     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
!     if [ x${is_cross_compiler} != xno ] ; then
! 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
!     fi
      ;;
    xscale-*-elf)
!     noconfigdirs="$noconfigdirs target-libgloss target-libffi target-qthreads"
!     if [ x${is_cross_compiler} != xno ] ; then
! 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
!     fi
      ;;
    xscale-*-coff)
!     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
!     if [ x${is_cross_compiler} != xno ] ; then
! 	   target_configdirs="${target_configdirs} target-bsp target-cygmon"
!     fi
      ;;
    thumb-*-pe)
--- 700,713 ----
      ;;
    strongarm-*-elf)
!     noconfigdirs="$noconfigdirs ${libgcj}"
      ;;
    strongarm-*-coff)
!     noconfigdirs="$noconfigdirs ${libgcj}"
      ;;
    xscale-*-elf)
!     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
      ;;
    xscale-*-coff)
!     noconfigdirs="$noconfigdirs ${libgcj}"
      ;;
    thumb-*-pe)
*************** case "${target}" in
*** 744,747 ****
--- 717,726 ----
      noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
      ;;
+   c4x-*-*)
+     noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj}"
+     ;;
+   c54x*-*-* | tic54x-*-*)
+     noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss ${libgcj} gcc gdb newlib"
+     ;;
    cris-*-*)
      noconfigdirs="$noconfigdirs ${libgcj}"
*************** case "${target}" in
*** 759,763 ****
      fi
      ;;
!   h8300*-*-* | \
    h8500-*-*)
      noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj} target-libf2c"
--- 738,744 ----
      fi
      ;;
!   h8300*-*-*)
!     noconfigdirs="$noconfigdirs target-libgloss"
!     ;;
    h8500-*-*)
      noconfigdirs="$noconfigdirs ${libstdcxx_version} target-librx target-libgloss ${libgcj} target-libf2c"
*************** case "${target}" in
*** 792,795 ****
--- 773,780 ----
      noconfigdirs="$noconfigdirs tix readline mmalloc libgui itcl gdb"
      ;;
+   ia64*-**-hpux*)
+     # No gdb or ld support yet.
+     noconfigdirs="$noconfigdirs tix readline mmalloc libgui itcl gdb ld"
+     ;;
    i[3456]86-*-coff | i[3456]86-*-elf)
      noconfigdirs="$noconfigdirs ${libgcj}"
*************** case "${target}" in
*** 890,899 ****
    powerpc-*-aix*)
      # copied from rs6000-*-* entry
!     # The configure and build of ld are currently disabled because
!     # GNU ld is known to be broken for AIX 4.2 and 4.3 (at least)
!     # The symptom is that GDBtk 4.18 fails at startup with a segfault
!     # if linked by GNU ld, but not if linked by the native ld.
!     noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss ${libgcj} ld"
!     use_gnu_ld=no
      ;;
    powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
--- 875,880 ----
    powerpc-*-aix*)
      # copied from rs6000-*-* entry
!     noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss ${libgcj}"
!     use_gnu_ld=yes
      ;;
    powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
*************** case "${target}" in
*** 921,930 ****
      ;;
    rs6000-*-aix*)
!     # The configure and build of ld are currently disabled because
!     # GNU ld is known to be broken for AIX 4.2 and 4.3 (at least)
!     # The symptom is that GDBtk 4.18 fails at startup with a segfault
!     # if linked by GNU ld, but not if linked by the native ld.
!     noconfigdirs="$noconfigdirs gprof ld ${libgcj}"
!     use_gnu_ld=no
      ;;
    rs6000-*-*)
--- 902,907 ----
      ;;
    rs6000-*-aix*)
!     noconfigdirs="$noconfigdirs gprof ${libgcj}"
!     use_gnu_ld=yes
      ;;
    rs6000-*-*)
*************** case "${noconfigdirs}" in
*** 1053,1061 ****
  esac
  
- # Only configure cgen if --enable-cgen-maint.
- if [ "x$enable_cgen_maint" != xyes ] ; then
-     noconfigdirs="$noconfigdirs cgen"
- fi
- 
  # Make sure we don't let GNU ld be added if we didn't want it.
  if [ x$with_gnu_ld = xno ]; then
--- 1030,1033 ----
*************** case " $skipdirs " in
*** 1493,1500 ****
     fi
  
!    # If we're building newlib, use its generic headers last, but search
!    # for any libc-related directories first (so make it the last -B
!    # switch).
!    FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
     ;;
    esac
--- 1465,1482 ----
     fi
  
!    case "${target}-${is_cross_compiler}" in
!    i[3456]86-pc-linux*-no)
!       # Here host == target, so we don't need to build gcc,
!       # so we don't want to discard standard headers.
!       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
!       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/'
!       ;;
!    *)
!       # If we're building newlib, use its generic headers last, but search
!       # for any libc-related directories first (so make it the last -B
!       # switch).
!       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
!       ;;
!    esac
     ;;
    esac


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