[m-rev.] Re: diff: support shared libraries on Solaris/x86

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Sep 12 04:59:29 AEST 2002


On 12-Sep-2002, Fergus Henderson <fjh at cs.mu.oz.au> wrote:
> Support shared libraries on mundroo.

An additional change is needed:

scripts/ml.in:
        Make static linking the default for x*86-*-solaris2.*,
	for the same reason as for Linux.

Index: scripts/ml.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/ml.in,v
retrieving revision 1.98
diff -u -d -u -r1.98 ml.in
--- scripts/ml.in       2002/09/01 06:05:20     1.98
+++ scripts/ml.in       2002/09/11 18:49:37
@@ -107,10 +107,9 @@
 # it will also have set mercury_libs.
 case $mercury_libs in default)
        mercury_libs=shared
-       case $FULLARCH in i*86-*-linux*|i*86-*-freebsd*|i*86-*-cygwin*)
-               # shared libraries are not the default on Linux
-               # -- see README.Linux
-               # Likewise for FreeBSD
+       case $FULLARCH in i*86-*-linux*|i*86-*-freebsd*|i*86-*-cygwin*|i*86-*-so
laris*)
+               # shared libraries are not the default on x86 systems that
+               # use ELF -- see README.Linux
                case $make_shared_lib in false)
                        mercury_libs=static
                        ;;

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list