[mercury-users] mercury's messiness

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Nov 22 14:14:36 AEDT 2000


On 22-Nov-2000, Mattias Waldau <mattias.waldau at abc.se> wrote:
> tried creating a subdirectory called 'Mercury', didn't work

It does work.  You just need to invoke `mmake' as specified in the
Mercury user's guide.

> /c$ cd data
> data$ cd mercury
> mercury$ nmake genetic_test.
> bash: nmake: command not found
> mercury$ nmake genetic_test.m
> bash: nmake: command not found

The command name is of course `mmake', not `nmake'.

> mercury$ mmake genetic_test.m
> make: Nothing to be done for `genetic_test.m'.
> mercury$ rm genetic_test.exe
> mercury$ mmake genetic_test.m
> make: Nothing to be done for `genetic_test.m'.

You need to say `mmake genetic_test.exe' or `mmake genetic_test',
not `mmake genetic_test.m'.

Don't forget to do `mmake genetic_test.depend' first.

> mercury$ mmc genetic_test.m

Creating a subdirectory named `Mercury' only works if you're using
mmake.  If you invoke mmc directly, then you need to explicitly
specify the `--use-subdirs' option.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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