2000-04-21 22:33:34 +02:00
|
|
|
# configure.host
|
|
|
|
|
|
|
|
# This shell script handles all host based configuration for libstdc++.
|
|
|
|
# It sets various shell variables based on the the host and the
|
|
|
|
# configuration options. You can modify this shell script without
|
|
|
|
# needing to rerun autoconf.
|
|
|
|
|
|
|
|
# This shell script should be invoked as
|
|
|
|
# . configure.host
|
|
|
|
# If it encounters an error, it will exit with a message.
|
|
|
|
|
|
|
|
# It uses the following shell variables:
|
2000-11-14 00:49:41 +01:00
|
|
|
# host The configuration host
|
|
|
|
# host_cpu The configuration host CPU
|
|
|
|
# target_optspace --enable-target-optspace ("yes", "no", "")
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
# It sets the following shell variables:
|
2000-11-14 00:49:41 +01:00
|
|
|
# glibcpp_cflags Special CFLAGS to use when building
|
|
|
|
# glibcpp_cxxflags Special CXXFLAGS to use when building
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
AM_RUNTESTFLAGS=
|
|
|
|
|
|
|
|
# Set any host dependent compiler flags.
|
|
|
|
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
|
|
|
|
|
|
|
|
|
|
|
|
DIVIDESPEC=-fuse-divide-subroutine
|
|
|
|
|
|
|
|
case "${host}" in
|
|
|
|
i686-*|i586-*)
|
2000-11-14 00:49:41 +01:00
|
|
|
;;
|
2000-04-21 22:33:34 +02:00
|
|
|
sparc-*)
|
|
|
|
;;
|
|
|
|
*)
|
2000-11-14 00:49:41 +01:00
|
|
|
;;
|
2000-04-21 22:33:34 +02:00
|
|
|
esac
|
|
|
|
|
|
|
|
glibcpp_cflags="${glibcpp_cflags} ${libgcj_flags}"
|
|
|
|
glibcpp_cxxflags="${glibcpp_cxxflags} ${libgcj_flags}"
|
2000-11-14 00:49:41 +01:00
|
|
|
|