diff: bug fix for clpr samples.

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Mar 2 14:46:39 AEDT 1998


On 02-Mar-1998, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> extras/clpr/samples/Mmakefile:
> 	Use MLFLAGS += --shared, rather than redefining ML, and
> 	rather than using --mercury-libs shared. 
...
>  # The following is needed so that we can use shared libraries on Linux
>  MGNUCFLAGS += -DPIC_REG
> -ML = ml --mercury-libs shared
> +MLFLAGS += --shared
>  
>  # The following would be needed to use static libraries on Linux
>  # MLLIBS = ../libcfloat_lib.a -lclpr
   # ML = ml --mercury-libs static

Your change looks fine, as far as it goes, but I don't think it goes
far enough.  You should delete or fix the comments quoted immediately
above about using static libraries on Linux.  You should also apply a
similar fix to extras/trailed_update/samples/Mmakefile.

-- 
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.



More information about the developers mailing list