Skip to content
Tcl Source Code Artifact [1166229576]
Login

Artifact [1166229576]

Artifact 116622957672281ddc8e96c38d7e9e33191adea7:

Attachment "tcl.m4.diff" to ticket [601051ffff] added by jdmartin on 2002-08-28 06:30:02.
--- tcl.m4	Fri Oct 19 18:24:15 2001
+++ tcl.m4.new	Wed Aug 21 21:51:08 2002
@@ -748,7 +748,19 @@
 	    fi
 	    if test "$do64bit" = "yes" ; then
 		if test "$GCC" = "yes" ; then
-		    AC_MSG_WARN("64bit mode not supported with GCC on $system")
+                    hpux_arch='`gcc -dumpmachine`'
+                    case $hpux_arch in
+                        hppa64*)
+                            # 64-bit gcc in use.  Fix flags for GNU ld.
+                            do64bit_ok=yes
+                            SHLIB_LD="gcc -shared"
+                            SHLIB_LD_LIBS=""
+                            LD_SEARCH_FLAGS=''
+                            ;;
+                        *)
+		            AC_MSG_WARN("64bit mode not supported with GCC on $system")
+                            ;;
+                    esac
 		else 
 		    do64bit_ok=yes
 		    EXTRA_CFLAGS="+DA2.0W"