aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lemke <jlemke@cygnus>1998-04-21 21:14:09 +0000
committerJames Lemke <jlemke@cygnus>1998-04-21 21:14:09 +0000
commit3e5fbf91b5c68d344d1ae6314ffb0e360a840ba4 (patch)
tree4330f0297d53bbbdfa1fc6d6a1cc16447872365b
parentb149f82f157129cafccf57b7e01b48589e58883f (diff)
downloadgdb-3e5fbf91b5c68d344d1ae6314ffb0e360a840ba4.zip
gdb-3e5fbf91b5c68d344d1ae6314ffb0e360a840ba4.tar.gz
gdb-3e5fbf91b5c68d344d1ae6314ffb0e360a840ba4.tar.bz2
Add configure option --with-sim-funit for sim & gdb.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/configure.in14
-rw-r--r--sim/mips/configure.in10
3 files changed, 29 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 95681d9..79c14d9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+start-sanitize-sky
+Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
+ * configure.in: Add configure option --with-sim-funit.
+
+end-sanitize-sky
Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
* mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
diff --git a/gdb/configure.in b/gdb/configure.in
index a2c3508..44c47bf 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -446,6 +446,20 @@ AC_ARG_WITH(sim-gpu2,
fi ;;
*) AC_MSG_WARN([--with-sim-gpu2 option invalid for target ${target}])
esac])dnl
+
+# Enable target accurate FP library
+AC_ARG_WITH(sim-funit,
+[ --with-sim-funit=path Use target FP lib under given directory],
+[case "${target}" in
+ mips*-sky-*)
+ if test -d "${withval}"
+ then
+ LIBS="${LIBS} -L${withval}/lib -lfunit"
+ else
+ AC_MSG_WARN([Directory ${withval} does not exist.])
+ fi ;;
+ *) AC_MSG_WARN([--with-sim-funit option invalid for target ${target}])
+esac])dnl
# end-sanitize-sky
AC_SUBST(ENABLE_CFLAGS)
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index c5b2432..181d2ac 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -246,6 +246,16 @@ then
else
AC_MSG_ERROR("Directory ${withval} does not exist.");
fi])dnl
+# Enable target accurate FP library
+AC_ARG_WITH(sim-funit,
+[ --with-sim-funit=path Use target FP library under given directory],
+[if test -d "${withval}"
+then
+ SIM_SUBTARGET="${SIM_SUBTARGET} -DSKY_FUNIT -I${withval}/include"
+ mips_extra_libs="${mips_extra_libs} -L${withval}/lib -lfunit"
+else
+ AC_MSG_ERROR("Directory ${withval} does not exist.");
+fi])dnl
# end-sanitize-sky
AC_SUBST(mips_extra_libs)