[mercury-users] mmc --make and -o

Simon Taylor stayl at cs.mu.OZ.AU
Sat May 18 14:43:57 AEST 2002


On 18-May-2002, Michael Day <mikeday at bigpond.net.au> wrote:
> > No. What would `mmc -o output --make file1 file2' mean?
> 
> Good point. So the directory in which mmc is invoked is where all the
> generated files (binaries, err files, Mercury/ subdirectory) will end up,
> no matter what. Could this be controlled perhaps, via --outputdir or
> something?

Another possible solution would be to use the new `-f' option,
which generates a mapping from module name to source file name:

	cd $output_dir
	mmc -f $source_dir/*.m
	mmc --make main_module

Why do you want to do this?

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