Browse Source

* configure.in configure: Check if host has libm. Make sure we

are using gcc when using the -export-dynamic option.  Fixes a
	problem with building under Solaris/SunPro cc.
gdb-4_18-branch
Stu Grossman 30 years ago
parent
commit
ef6c51d13f
  1. 6
      gdb/ChangeLog
  2. 751
      gdb/configure
  3. 7
      gdb/configure.in

6
gdb/ChangeLog

@ -1,3 +1,9 @@
Tue Jan 21 17:01:20 1997 Stu Grossman (grossman@lisa.cygnus.com)
* configure.in configure: Check if host has libm. Make sure we
are using gcc when using the -export-dynamic option. Fixes a
problem with building under Solaris/SunPro cc.
Mon Jan 20 13:52:13 1997 Mark Alexander <marka@cygnus.com>
* config/mips/{embed,embed64,embedl,embedl64}.mt:

751
gdb/configure

File diff suppressed because it is too large

7
gdb/configure.in

@ -79,6 +79,9 @@ if test $gdb_cv_have_fpregset_t = yes; then
AC_DEFINE(HAVE_FPREGSET_T)
fi
dnl See if host has libm. This is usually needed by simulators.
AC_CHECK_LIB(m, main)
dnl See if compiler supports "long long" type.
AC_MSG_CHECKING(for long long support in compiler)
@ -175,7 +178,9 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_THREAD_DB_LIB)
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -Xlinker -export-dynamic"
if test "$GCC" = "yes" ; then
CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -Xlinker -export-dynamic"
fi
else
AC_MSG_RESULT(no)
fi

Loading…
Cancel
Save