[mercury-users] Using not installed libraries

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Apr 4 17:56:33 AEST 2003


On 04-Apr-2003, Peter Moulder <pmoulder at csse.monash.edu.au> wrote:
>   TCLTK_MLLIBS = <libraries that libmercury_tcltk links against>
> 
>   # Specify the location of the `mercury_tcltk' package.
>   MERCURY_TCLTK_DIR  = some/directory/mercury_tcltk
> 
>   # Tell mmake to use the `mercury_tcltk' library.
>   VPATH           = $(MERCURY_TCLTK_DIR):$(MMAKE_VPATH)
>   MCFLAGS         = -I$(MERCURY_TCLTK_DIR) $(EXTRA_MCFLAGS)
>   MLFLAGS         = -R$(MERCURY_TCLTK_DIR) $(EXTRA_MLFLAGS) \
> 		    -L$(MERCURY_TCLTK_DIR) 
>   MLLIBS          = -lmercury_tcltk $(TCLTK_MLLIBS) $(EXTRA_MLLIBS)
>   C2INITFLAGS     = $(MERCURY_TCLTK_DIR)/mercury_tcltk.init 
> 
> I believe it also needs the following:
> 
>   MGNUCFLAGS      += -I$(MERCURY_TCLTK_DIR)

Yes, except that it should be setting CFLAGS rather than MGNUCFLAGS,
and C2INITARGS rather than C2INITFLAGS.

-- 
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-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list