diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-09-04 19:50:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-09-04 19:50:55 +0000 |
commit | 68867afb885883114787d9408d894e5603551fc7 (patch) | |
tree | 81489b65d5f5a08496482e6c3061f82988ca8699 /sim/configure.in | |
parent | 9b86c7e2e203f0a739adda41c867594df2b99561 (diff) | |
download | gdb-68867afb885883114787d9408d894e5603551fc7.zip gdb-68867afb885883114787d9408d894e5603551fc7.tar.gz gdb-68867afb885883114787d9408d894e5603551fc7.tar.bz2 |
* configure.in: Only build the MIPS simulator if we are using
gcc.
* configure: Rebuild.
Diffstat (limited to 'sim/configure.in')
-rw-r--r-- | sim/configure.in | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sim/configure.in b/sim/configure.in index b9eed90..e3d7fc9 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -50,13 +50,21 @@ case "${target}" in # end-sanitize-d10v h8300*-*-*) sim_target=h8300 ;; h8500-*-*) sim_target=h8500 ;; - mips*-*-*) sim_target=mips ;; + mips*-*-*) + # The MIPS simulator can only be compiled + # by gcc. + if test "${GCC}" = "yes"; then + sim_target=mips + else + sim_target=none + fi + ;; sh*-*-*) sim_target=sh ;; powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* ) + if test x"$powerpc_sim" = x"yes"; then sim_target=ppc; fi ;; # start-sanitize-v850 v850-*-*) sim_target=v850 ;; # end-sanitize-v850 - if test x"$powerpc_sim" = x"yes"; then sim_target=ppc; fi ;; w65-*-*) sim_target=w65 ;; z8k*-*-*) sim_target=z8k ;; sparc*-*-*) case "${host}" in # don't build for non Unix systems @@ -65,12 +73,11 @@ case "${target}" in *-*-cygwin32) sim_target=none ;; *) # The SPARC simulator can only be compiled - # by gcc. Highly bogus, but just skip - # building it for now. + # by gcc. if test "${GCC}" = "yes"; then sim_target=erc32 else - sim_target=non + sim_target=none fi ;; esac ;; |