# cpu_defines_dir location of cpu_defines.h
# defaults to generic.
#
+# cpu_opt_bits_random path name of random.h containing CPU-specific
+# optimizations
+#
+# cpu_opt_ext_random path name of random.h containing CPU-specific
+# optimizations for extensions
#
# error_constants_dir location of error_constants.h
# defaults to os/generic.
fi
+# Set directory with CPU-specific optimization
+cpu_opt_dir=${cpu_include_dir}/opt
+test -d ${glibcxx_srcdir}/config/${cpu_include_dir}/opt ||
+cpu_opt_dir=cpu/generic/opt
+# For each header with CPU-specific optimizations check whether it
+# exists in ${cpu_opt_dir}. If not, point the variable at the
+# appropriate file in the generic directory.
+cpu_opt_ext_random=${cpu_opt_dir}/ext/opt_random.h
+test -f ${glibcxx_srcdir}/config/${cpu_opt_ext_random} ||
+cpu_opt_ext_random=cpu/generic/opt/ext/opt_random.h
+
+cpu_opt_bits_random=${cpu_opt_dir}/bits/opt_random.h
+test -f ${glibcxx_srcdir}/config/${cpu_opt_ext_random} ||
+cpu_opt_ext_random=cpu/generic/opt/bits/opt_random.h
+
+
# Set any OS-dependent bits.
# Set the os_include_dir.
# Set the error_costants_dir.
hpux*)
os_include_dir="os/hpux"
;;
- irix6.5*)
- os_include_dir="os/irix/irix6.5"
- atomicity_dir=os/irix
- atomic_word_dir=os/irix
- # libstdc++.so relies on emutls on IRIX, which only works with the
- # real functions implemented in libpthread.so, not with the stubs in
- # libc, so always pass -lpthread.
- OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread"
- ;;
mingw32*)
case "$host" in
*-w64-*)
netbsd*)
os_include_dir="os/bsd/netbsd"
;;
- osf*)
- os_include_dir="os/osf"
- # libstdc++.so relies on emutls on Tru64 UNIX, which only works with the
- # real functions implemented in libpthread.so, not with the dummies in
- # libgcc, so always pass -lpthread.
- OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread"
+ openbsd*)
+ os_include_dir="os/bsd/openbsd"
;;
qnx6.[12]*)
os_include_dir="os/qnx/qnx6.1"
echo "Please specify the full version of Solaris, ie. solaris2.9 " 1>&2
exit 1
;;
- solaris2.[89] | solaris2.1[0-9])
- os_include_dir="os/solaris/solaris2.8"
+ solaris2.9 | solaris2.1[0-9])
+ os_include_dir="os/solaris/solaris2.9"
;;
tpf)
os_include_dir="os/tpf"
fi
esac
case "${host}" in
- arm*-*-linux-*eabi*)
+ arm*-*-linux-*)
port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
;;
esac
powerpc*-*-darwin*)
port_specific_symbol_files="\$(srcdir)/../config/os/bsd/darwin/ppc-extra.ver"
;;
- *-*-solaris2.[89])
- abi_baseline_pair=solaris2.8
+ *-*-solaris2.9)
+ abi_baseline_pair=solaris2.9
abi_baseline_subdir_switch=--print-multi-os-directory
;;
*-*-solaris2.1[0-9])