aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-10-12 03:14:54 +0000
committerJeff Law <law@redhat.com>1996-10-12 03:14:54 +0000
commitaee4f36a8973ec90fc53ba90b15af87e8e65b1b0 (patch)
tree0edfd37ff744d94f246f067099f3c377ff4bc055 /sim/configure
parent90a0f3aa64b928c4d1b13a6e93e35338dd3de568 (diff)
downloadgdb-aee4f36a8973ec90fc53ba90b15af87e8e65b1b0.zip
gdb-aee4f36a8973ec90fc53ba90b15af87e8e65b1b0.tar.gz
gdb-aee4f36a8973ec90fc53ba90b15af87e8e65b1b0.tar.bz2
* configure.in: Only build the V850 simulator if
we are using gcc. * configure: Rebuild. So builds with "cc" don't die in the v850 simulator directory.
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure18
1 files changed, 10 insertions, 8 deletions
diff --git a/sim/configure b/sim/configure
index cd997d1..8f854dd 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1215,16 +1215,19 @@ case "${target}" in
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 ;;
+ v850-*-*)
+ # The V850 simulator can only be compiled
+ # by gcc.
+ if test "${GCC}" = "yes"; then
+ sim_target=v850
+ else
+ sim_target=none
+ fi
+ ;;
# end-sanitize-v850
w65-*-*) sim_target=w65 ;;
z8k*-*-*) sim_target=z8k ;;
- sparc*-*-*) case "${host}" in # don't build for non Unix systems
- *-*-go32) sim_target=none ;;
- *-*-winnt) sim_target=none ;;
- *-*-cygwin32) sim_target=none ;;
- *)
- # The SPARC simulator can only be compiled
+ sparc*-*-*) # The SPARC simulator can only be compiled
# by gcc.
if test "${GCC}" = "yes"; then
sim_target=erc32
@@ -1232,7 +1235,6 @@ case "${target}" in
sim_target=none
fi
;;
- esac ;;
*) sim_target=none ;;
esac