[mercury-users] [newbie] compilation error

Scott Finnie scott.finnie at logiquence.com
Fri Jan 24 19:15:20 AEDT 2003


Thanks Fergus,

Had initially specified MSVC to configure on installation, will retry 
with gcc.

  - Scott.

Fergus Henderson wrote:
> On 23-Jan-2003, Scott Finnie <scott.finnie at logiquence.com> wrote:
> 
>>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.
> 
> 
> It looks like you are for some reason using a different C compiler
> than GNU C.  Why?  Is this deliberate?
> 
> If so, you need to follow the directions in the "Using a different C
> compiler" chapter of the Mercury User's Guide.  In particular, you
> need to use a grade which does not require GNU C extensions,
> such as `none.gc' or `hlc.gc'.  Also, it is possible that additional
> steps may be required; see the README.MS-VisualC file for some
> documentation.  See also
> http://www.cs.mu.oz.au/research/mercury/mailing-lists/mercury-developers/m
> <ercury-developers.0211/0021.html>.
> 
> If it is not deliberate, then make sure that you have gcc installed
> and in your PATH.
> 
> I recommend using GNU C!
> 
> Cheers,
> 	Fergus.
> 

--------------------------------------------------------------------------
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