aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/configure.in
diff options
context:
space:
mode:
authorJackie Smith Cashion <jsmith@redhat.com>1995-11-08 15:44:38 +0000
committerJackie Smith Cashion <jsmith@redhat.com>1995-11-08 15:44:38 +0000
commit8ad577372429099494bd5681ff01fc218e00eb62 (patch)
treeee7af3b87ef8135dd8e92f19603adb340e508bb1 /sim/mips/configure.in
parent9cacb47b67666166e74269fde83a0378d37059ff (diff)
downloadgdb-8ad577372429099494bd5681ff01fc218e00eb62.zip
gdb-8ad577372429099494bd5681ff01fc218e00eb62.tar.gz
gdb-8ad577372429099494bd5681ff01fc218e00eb62.tar.bz2
Initial check-in of the MIPS simulator. Work still needs to be done on
the run-time support code (interp.c) to provide better tracing, and also to add profiling and architecture specific support. At the moment the simulator has a fixed size, fixed address memory area, and simulates a subset of the IDT monitor calls (enough to execute test programs). The other major feature (could even be a bug) is that the simulator makes use of the GCC "long long" extension. Work has been started to make this a build configuration option... but there is still a lot of this to be done.
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r--sim/mips/configure.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
new file mode 100644
index 0000000..7b96e72
--- /dev/null
+++ b/sim/mips/configure.in
@@ -0,0 +1,27 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.3)dnl
+AC_INIT(Makefile.in)
+
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
+
+. ${srcdir}/../../bfd/configure.host
+
+AC_PROG_CC
+AC_SUBST(CFLAGS)
+AC_SUBST(HDEFINES)
+AR=${AR-ar}
+AC_SUBST(AR)
+AC_PROG_RANLIB
+
+# Put a plausible default for CC_FOR_BUILD in Makefile.
+AC_C_CROSS
+if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+else
+ CC_FOR_BUILD=gcc
+fi
+AC_SUBST(CC_FOR_BUILD)
+
+AC_OUTPUT(Makefile)