[mercury-users] Installation of Mercury under Cygwin

Wim Vanhoof wva at info.fundp.ac.be
Thu Oct 14 01:10:06 AEST 2004

At 11:00 13/10/2004, Fergus Henderson wrote:
>On 13-Oct-2004, Wim Vanhoof <wva at info.fundp.ac.be> wrote:
> > >> checking for gcc... gcc
> > >> checking whether the C compiler (gcc  ) works... no
>Check the config.log file.
>Also, check whether gcc works; e.g. try compiling a simple C file with it
>and running the resulting executable.

Hi Fergus,

indeed there seems to be a problem with gcc. Compilation (gcc -c) goes fine but
later on it reports

$ gcc -o hello_world hello_world.c
cannot find -luser32
collect2: ld returned 1 exit status

I guess this is a problem with cygwin, but do you have any clue how it can 
be solved?


Wim Vanhoof                                     E-mail: wva at info.fundp.ac.be
University of Namur                             Tel.  ++32(0)
Rue Grandgagnage, 21                            Fax. ++32(0)
B-5000 Namur                            http://www.info.fundp.ac.be/~wva

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