This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
PATCH: Use abi_baseline_triplet for freebsd*
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 18 Oct 2002 16:26:41 -0500 (CDT)
- Subject: PATCH: Use abi_baseline_triplet for freebsd*
- Reply-to: rittle at labs dot mot dot com
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"