diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-06-24 18:20:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-06-24 18:20:52 +0000 |
commit | aac160d2bb10d0fc7f2fee1e48e080f61786e2a8 (patch) | |
tree | 600a58e32202fd333389c4fea95bc69ef905935c /sim/configure.in | |
parent | 30b9d933e87b0252aa4a1f393828f475b9ed6237 (diff) | |
download | gdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.zip gdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.tar.gz gdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.tar.bz2 |
* configure.in: Only configure erc32 if using gcc.
Diffstat (limited to 'sim/configure.in')
-rw-r--r-- | sim/configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sim/configure.in b/sim/configure.in index 3553ff2..2773119 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -56,7 +56,16 @@ case "${target}" in *-*-go32) sim_target=none ;; *-*-winnt) sim_target=none ;; *-*-cygwin32) sim_target=none ;; - *) sim_target=erc32 ;; + *) + # The SPARC simulator can only be compiled + # by gcc. Highly bogus, but just skip + # building it for now. + if test "${GCC}" = "yes"; then + sim_target=erc32 + else + sim_target=non + fi + ;; esac ;; *) sim_target=none ;; esac |