Menu

#10 Build on a 64-bit host fails

v2.7
open
nobody
None
8
2010-04-22
2010-04-21
No

Updated aclocal/gcc.ac to add $picflags so resulting configure script will recognize shared library support in 64-bit systems.

Patch:

--- a/aclocal/gcc.ac
+++ b/aclocal/gcc.ac
@@ -309,7 +309,7 @@

for shopt in -shared "-dynamiclib -single_module" ; do
AC_MSG_CHECKING([whether the compiler can link a dynamic library with $shopt])
- LDFLAGS="$shopt $ac_save_LDFLAGS"
+ LDFLAGS="$picflags $shopt $ac_save_LDFLAGS"
AC_LINK_IFELSE([void myfunc() {}], [shlink=yes], [shlink=no])
AC_MSG_RESULT($shlink)

Discussion

  • NASA GRC Network Group

    Notes: This patch is with regards to Oasys, and should be applied to that source tree.

     
  • NASA GRC Network Group

    • priority: 5 --> 8
     

Log in to post a comment.