[mercury-users] mdb search path for sources (with no emacs)

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 10 03:10:21 AEST 2003

On 09-Apr-2003, Ondrej Bojar <oboj7042 at ss1000.ms.mff.cuni.cz> wrote:
> I'm using mdb without the emacs and my sources are spread in different
> directories. I've found a note about the variable gud-mdb-directories, but
> this works in emacs only.
> Is there an environment variable for the search path?

I don't think so.

One work-around is to compile the files in the other directories using 
mmc with a full path name, e.g. via

	mmc --make --debug foo.ints
	for file in *.m; do
		echo $file;
		mmc --debug -c `pwd`/$file;
	mmc --make --debug foo

Then mmc will embed the full path name of the source files in the executable,
and mdb will pass this full path name to vim.

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