[m-rev.] diff: fix shared linkage testing problems
Simon Taylor
stayl at cs.mu.OZ.AU
Thu Feb 13 10:44:50 AEDT 2003
Estimated hours taken: 0.25
tools/test_mercury:
Pass `--mercury-linkage shared' to mmc to enable
use of shared libraries on x86, rather than just
`--pic-reg'. This fixes failures in the `mmc --make'
tests.
Use shared linking when running the tests on all
x86 Unix systems (not just Linux) to save disk space.
Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.234
diff -u -u -r1.234 test_mercury
--- test_mercury 4 Feb 2003 03:08:01 -0000 1.234
+++ test_mercury 12 Feb 2003 23:22:27 -0000
@@ -260,11 +260,11 @@
TEST_MLFLAGS=""
case $FULLARCH in
- i*86-*-linux*)
- # On x86 Linux, we need to set the following flags to enable
+ i*86-*-linux*|i*86-*-freebsd*|i*86-*-solaris2.*)
+ # On x86 Unix, we need to set the following flags to enable
# shared libraries (and we need to use shared libraries to
# avoid running out of disk space...)
- TEST_MCFLAGS="$TEST_MCFLAGS --pic-reg"
+ TEST_MCFLAGS="$TEST_MCFLAGS --mercury-linkage shared"
TEST_MGNUCFLAGS="$TEST_MGNUCFLAGS --pic-reg"
TEST_MLFLAGS="$TEST_MLFLAGS --shared"
;;
--------------------------------------------------------------------------
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