[mercury-users] undefined reference to `MR_grade_v1_asm_fast_tags2' ????

Fergus Henderson fjh at cs.mu.OZ.AU
Fri May 28 13:17:57 AEST 1999


On 28-May-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> On 27-May-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > If (1) solves your problem, then you might want to try the attached
> > patch out.  (cd scripts; patch < ml.in.patch; mmake install)
> > This patch would make static linking the default for FreeBSD too.
> > 
> Did you forget to attach the patch?

Yes.  Here it is.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
-------------- next part --------------
--- ml.in.old	Thu May 27 21:37:12 1999
+++ ml.in	Thu May 27 21:38:03 1999
@@ -215,9 +215,10 @@
 # it will also have set mercury_libs.
 case $mercury_libs in default)
 	mercury_libs=shared
-	case $FULLARCH in i?86-*-linux*)
+	case $FULLARCH in i?86-*-linux*|i?86-*-freebsd*)
 		# shared libraries are not the default on Linux
 		# -- see README.Linux
+		# Likewise for FreeBSD
 		case $make_shared_lib in false)
 			mercury_libs=static
 			;;
@@ -231,9 +232,10 @@
 # (shared on most systems).
 case $all_libs in default)
 	all_libs=shared
-	case $FULLARCH in i?86-*-linux*)
+	case $FULLARCH in i?86-*-linux*|i?86-*-freebsd*)
 		# shared libraries are not the default on Linux
 		# -- see README.Linux
+		# Likewise for FreeBSD
 		case $make_shared_lib in false)
 			all_libs=static
 			;;


More information about the users mailing list