]>
Commit | Line | Data |
---|---|---|
b2dad0e3 BK |
1 | # configure.host |
2 | ||
3 | # This shell script handles all host based configuration for libstdc++. | |
4 | # It sets various shell variables based on the the host and the | |
5 | # configuration options. You can modify this shell script without | |
6 | # needing to rerun autoconf. | |
7 | ||
8 | # This shell script should be invoked as | |
9 | # . configure.host | |
10 | # If it encounters an error, it will exit with a message. | |
11 | ||
12 | # It uses the following shell variables: | |
13 | # host The configuration host | |
14 | # host_cpu The configuration host CPU | |
15 | # target_optspace --enable-target-optspace ("yes", "no", "") | |
16 | ||
17 | # It sets the following shell variables: | |
18 | # glibcpp_cflags Special CFLAGS to use when building | |
19 | # glibcpp_cxxflags Special CXXFLAGS to use when building | |
20 | ||
21 | glibcpp_cflags= | |
22 | glibcpp_cxxflags= | |
23 | ||
24 | AM_RUNTESTFLAGS= | |
25 | ||
26 | # Set any host dependent compiler flags. | |
27 | # THIS TABLE IS SORTED. KEEP IT THAT WAY. | |
28 | ||
29 | echo "$target" | |
30 | ||
31 | DIVIDESPEC=-fuse-divide-subroutine | |
32 | ||
33 | case "${host}" in | |
34 | i686-*|i586-*) | |
35 | ;; | |
36 | sparc-*) | |
37 | ;; | |
38 | *) | |
39 | ;; | |
40 | esac | |
41 | ||
42 | glibcpp_cflags="${glibcpp_cflags} ${libgcj_flags}" | |
43 | glibcpp_cxxflags="${glibcpp_cxxflags} ${libgcj_flags}" |