Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>

* configure.in: Define @SIMCONF@ depending on mips target.
	* configure: Rebuild.
	* Makefile.in (run): Add @SIMCONF@ to control simulator
 	construction.
	* gencode.c: Change LOADDRMASK to 64bit memory model only.
	* interp.c: Remove some debugging, provide more detailed error
 	messages, update memory accesses to use LOADDRMASK.
This commit is contained in:
Jackie Smith Cashion
1996-06-05 08:16:16 +00:00
parent 60bcbf8d51
commit c98ec95dba
2 changed files with 33 additions and 4 deletions

View File

@@ -17,6 +17,13 @@ AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
# Ensure a reasonable default simulator is constructed:
case "${target}" in
mips64*-*-*) SIMCONF="-mips0 --warnings";;
mips*-*-*) SIMCONF="-mips2 --warnings";;
*) SIMCONF="-mips0 --warnings";;
esac
# Put a plausible default for CC_FOR_BUILD in Makefile.
AC_C_CROSS
if test "x$cross_compiling" = "xno"; then
@@ -30,5 +37,7 @@ AC_CHECK_HEADERS(string.h strings.h stdlib.h)
AC_CHECK_LIB(m, fabs)
AC_CHECK_FUNCS(aint anint)
AC_SUBST(SIMCONF)
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])