[mercury-users] [newbie] compilation error
Peter Ross
pro at missioncriticalit.com
Sat Jan 25 03:14:29 AEDT 2003
On Thu, Jan 23, 2003 at 03:38:21PM +0000, Scott Finnie wrote:
> Hello,
>
> Trying to run the hello_world sample from the tutorial, and getting
> errors (see below). Any pointers appreciated. Platform is cygwin on
> win2k. Have tried adding ..../mercury/inc to $INCLUDE with same result.
>
> Thanks,
> Scott.
>
> $ mmake hello_world.depend
> mmc --generate-dependencies --grade asm_fast.gc hello_world
>
> $ mmake hello_world
> mgnuc --grade asm_fast.gc -c hello_world.c -o hello_world.o
> /usr/local/mercury-0.10.1/bin/mgnuc: For compilers other than GNU C, the
> only
> /usr/local/mercury-0.10.1/bin/mgnuc: base grade allowed is `none'
Here is the problem. For some reason the compiler appears to building
in the asm_fast.gc grade which isn't supported when using MSVC.
Could you check in the Mmakefile in the directory that you are trying to
build hello_world in to determine whether the GRADE variable has been
set to asm_fast.gc. If so then change it to hlc.gc or delete the line.
If not, then this indicates a bug in the installation.
--------------------------------------------------------------------------
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