From aac160d2bb10d0fc7f2fee1e48e080f61786e2a8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 24 Jun 1996 18:20:52 +0000 Subject: [PATCH] * configure.in: Only configure erc32 if using gcc. --- sim/ChangeLog | 10 ++++++++++ sim/configure.in | 11 ++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sim/ChangeLog b/sim/ChangeLog index 7e165cda897..89edb717afb 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,13 @@ +Mon Jun 24 14:18:26 1996 Ian Lance Taylor + + * configure.in: Only configure erc32 if using gcc. + +Tue Jun 4 09:24:21 1996 Michael Meissner + + * configure.in (sim_target): Build PowerPC simulator for powerpc + System V.4, Solaris, and Elf targets. + * configure: Regenerate with autoconf 2.10. + Wed May 22 12:10:49 1996 Rob Savoye * configure.in: Only built erc32 simulator on Unix hosts as it diff --git a/sim/configure.in b/sim/configure.in index 3553ff2ed39..27731192cd7 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 -- 2.30.2