[mercury-users] [newbie] compilation error
Scott Finnie
scott.finnie at logiquence.com
Fri Jan 24 02:38:21 AEDT 2003
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'
Command line warning D4002 : ignoring unknown option '-fno-builtin'
Command line warning D4002 : ignoring unknown option
'-fno-omit-frame-pointer'
Command line warning D4002 : ignoring unknown option '-fno-defer-pop'
Command line warning D4002 : ignoring unknown option '-fno-function-cse'
Command line warning D4002 : ignoring unknown option '-fno-gcse'
hello_world.c
hello_world.c(19) : fatal error C1083: Cannot open include file:
'mercury_imp.h': No such file or di
rectory
make: *** [hello_world.o] Error 2
--------------------------------------------------------------------------
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