[mercury-users] mmc --make and MLLIBS
Peter Ross
pro at missioncriticalit.com
Mon Dec 4 11:35:52 AEDT 2006
On 12/1/06, Simon Taylor <staylr at gmail.com> wrote:
> On 01-Dec-2006, Peter Ross <pro at missioncriticalit.com> wrote:
> > I have the following line in my Mercury.options file
> >
> > MLLIBS=libexpat.lib
> >
> > and then call mmc --make
> >
> > Making Mercury\int3s\generic_xml.int3
> > Making Mercury\int3s\mexpat.int3
> > Making Mercury\int3s\mexpat.xml.int3
> > Making Mercury\ints\mexpat.int
> > Making Mercury\int0s\mexpat.int0
> > Making Mercury\ints\mexpat.xml.int
> > Making Mercury\cs\generic_xml.c
> > mercury_compile.exe: can't find source for module `libexpat.lib'.
> > Error: system command received signal 1.
> > ** Error making `Mercury\cs\generic_xml.c'.
>
> I think you want "MLOBJS=libexpat.lib"
> (or "MCFLAGS += --link-object libexpat.lib").
> MLLIBS is documented in the user guide as being a list of `-l' options.
> The value of MLLIBS is currently passed on to mmc without checking,
> which is why libexpat.lib is incorrectly treated as a source module.
>
Thanks, I understand now what the problem is.
--------------------------------------------------------------------------
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