PATCH: Use abi_baseline_triplet for freebsd*
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Fri Oct 18 14:26:00 GMT 2002
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"
More information about the Libstdc++
mailing list