This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

PATCH: Use abi_baseline_triplet for freebsd*


Thanks Phil for adding the required support.  As committed.

	* configure.target (freebsd*): Use abi_baseline_triplet.
	* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
	* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.

Index: configure.target
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.target,v
retrieving revision 1.52
diff -c -r1.52 configure.target
*** configure.target	26 Sep 2002 05:25:06 -0000	1.52
--- configure.target	18 Oct 2002 21:19:23 -0000
***************
*** 138,144 ****
    aix*)
      ATOMICITYH="cpu/generic"
      ;;
!   bsd* | freebsd* )
      os_include_dir="os/bsd/freebsd"
      ;;
    cygwin*)
--- 138,145 ----
    aix*)
      ATOMICITYH="cpu/generic"
      ;;
!   bsd*)
!     # Plain BSD attempts to share FreeBSD files.
      os_include_dir="os/bsd/freebsd"
      ;;
    cygwin*)
***************
*** 146,151 ****
--- 147,157 ----
      ;;
    *djgpp*)      # leading * picks up "msdosdjgpp"
      os_include_dir="os/djgpp"
+     ;;
+   freebsd*)
+     os_include_dir="os/bsd/freebsd"
+     # The FreeBSD ABI is expressed in the major version number only.
+     abi_baseline_triplet=`echo ${target} | sed 's,\(\.[0-9]*\)*$,,'`
      ;;
    gnu* | linux*)
      os_include_dir="os/gnu-linux"


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