[mercury-users] mmc --make and MLLIBS

Peter Ross pro at missioncriticalit.com
Fri Dec 1 18:01:52 AEDT 2006


On 12/1/06, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>
> On Fri, 1 Dec 2006, Peter Ross wrote:
>
> > Hi,
> >
> > I have the following line in my Mercury.options file
> >
> > MLLIBS=libexpat.lib
> >
>
> Have you told the compiler where libexpat.lib is?
>
> e.g,
>
>         MLLIBS=-L <wherever it is> -lexpat  (or is it -lexpat.lib?)
>
It does work if I use
LDFLAGS=-L.
MLLIBS=-lexpat
and rename libexpat.lib to libexpat.a however if I use mmake the
system builds correctly,
so for me the same Mercury.options should build under both mmc --make and mmake.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list