[mercury-users] Compiling Libraries...

Simon Taylor stayl at cs.mu.OZ.AU
Fri Dec 13 01:14:12 AEDT 2002


On 12-Dec-2002, Noel  Pinto <cool4life at rediffmail.com> wrote:
> I have not really understood how the Mmakefile works. What I am 
> trying to say is that the example in the User's Guide about the 
> example of the Mmakefile is not given fully.
> 
> Plz do explain the variables that go in the Mmakefile.

For what you're doing, you probably don't need an Mmakefile.

The error message you are getting probably means that there is a
syntax error in the Mmakefile in your directory.  Mmake takes your
Mmakefile, some predefined rules and some Mmakefile fragments
generated by `mmake depend', and uses them to create the Makefile
for your program or library. If there is a syntax error, you can use
`mmake -s' to save the generated makefile to a file named Mmake.makefile
in the current directory, which makes it easier to find out what
is causing the problem. 

If you don't want to do that, try renaming or deleting the Mmakefile.

> On Thu, 12 Dec 2002 Nancy Mazur wrote :
> >* Noel  Pinto <cool4life at rediffmail.com> [2002-12-12 10:45]:

> > > It is giving me an error during compilation. I really do not 
> >know
> > > whether this is the right way to do it.
> > > $ mmake libtesting.depend
> > > /tmp/mmake.601479:549: *** missing separator.  Stop.

> >Are you sure you're giving us all the information? What is the 
> >content
> >of your Mmakefile, because I guess you're using one.

Why didn't you respond to this part of Nancy's message?
If you don't supply the information you are asked for,
we can't help you.

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