[mercury-users] Compiling a Workspace

Lars Yencken lljy at students.cs.mu.oz.au
Fri Feb 1 15:25:00 AEDT 2002

Hi guys,

I've checked out a workspace at home, and I'm trying to compile it, but when
I do I get various errors. Firstly, I run autoconf, then configure. Both
work fine. When I run make, it compiles some c files and then I get:

../scripts/mmc: /usr/local/mercury-DEV/lib/mercury/bin/i686-pc-linux-gnu/mercury_compile:
No such file or directory
../scripts/mmc: exec:
/usr/local/mercury-DEV/lib/mercury/bin/i686-pc-linux-gnu/mercury_compile: cannot execute:
No such file or directory

So I set the MERCURY_COMPILER environment variable to the mercury_compile
executable for the mercury compiler I already have on my system. Then I run
make again and get:

MERCURY_INT_DIR=. MERCURY_ALL_C_INCL_DIRS=" -I../trace -I../runtime 
-I../boehm_gc -I../boehm_gc/include " mmc --no-unboxed-float 
--conf-low-tag-bits 2 --bits-per-word 32 --bytes-per-word 4 
--generate-dependencies --transitive-intermodule-optimization 
--no-warn-smart-recompilation --grade asm_fast.gc     --no-infer-all 
--halt-at-warn    library
mercury_compile: unrecognized option `--fullarch'
Mercury Compiler, version 0.10.2-beta-2002-01-30, configured for 
Copyright (C) 1993-2000 The University of Melbourne
Usage: mmc [<options>] <arguments>
Use `mmc --help' for more information.
gmake[1]: *** [library.depend] Error 1
gmake[1]: Leaving directory `/home/lljy/lang/mercury/mercury/library'
gmake: *** [library/library.dep] Error 2

I got the same error before, when trying with the most recent stable
compiler release. At the moment my version's 0.10.2-beta-2002-01-30,
before it was The same error also occurs if I follow the
instructions in INSTALL_CVS exactly, when I'm running mmake depend.
My computer here runs Mandrake 8.1, gcc 2.96, gmake 3.79.1.

Any ideas on what might be the problem?

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