source:
trunk/src/gcc/boehm-gc/configure.host@
90
Last change on this file since 90 was 2, checked in by , 22 years ago | |
---|---|
|
|
File size: 1.3 KB |
Line | |
---|---|
1 | # configure.host |
2 | |
3 | # This shell script handles all host based configuration for the garbage |
4 | # collector. |
5 | # It sets various shell variables based on the the host and the |
6 | # configuration options. You can modify this shell script without |
7 | # needing to rerun autoconf. |
8 | |
9 | # This shell script should be invoked as |
10 | # . configure.host |
11 | # If it encounters an error, it will exit with a message. |
12 | |
13 | # It uses the following shell variables: |
14 | # host The configuration host |
15 | # host_cpu The configuration host CPU |
16 | # target_optspace --enable-target-optspace ("yes", "no", "") |
17 | |
18 | # It sets the following shell variables: |
19 | # gc_cflags Special CFLAGS to use when building |
20 | |
21 | # We should set -fexceptions if we are using gcc and might be used |
22 | # inside something like gcj. This is the zeroth approximation: |
23 | case "$host" in |
24 | *-*-linux* ) |
25 | gc_cflags=-fexceptions |
26 | ;; |
27 | *-*-hpux* ) |
28 | gc_cflags=+ESdbgasm |
29 | ;; |
30 | esac |
31 | |
32 | case "${target_optspace}:${host}" in |
33 | yes:*) |
34 | gc_cflags="${gc_cflags} -Os" |
35 | ;; |
36 | :m32r-* | :d10v-* | :d30v-*) |
37 | gc_cflags="${gc_cflags} -Os" |
38 | ;; |
39 | no:* | :*) |
40 | # Nothing. |
41 | ;; |
42 | esac |
43 | |
44 | # Set any host dependent compiler flags. |
45 | # THIS TABLE IS SORTED. KEEP IT THAT WAY. |
46 | |
47 | case "${host}" in |
48 | mips-tx39-*|mipstx39-unknown-*) |
49 | boehm_gc_cflags="${boehm_gc_cflags} -G 0" |
50 | ;; |
51 | *) |
52 | ;; |
53 | esac |
Note:
See TracBrowser
for help on using the repository browser.