Compileing under Cygwin

Wayne Tan WTan@optimight.com
Mon Apr 16 07:44:00 GMT 2001


Christopher,

i think i downloaded and installed the whole distribution, but how can i
tell?

wayne

-----Original Message-----
From: Christopher Faylor [ mailto:cgf@redhat.com ]
Sent: Sunday, April 15, 2001 8:34 PM
To: cygwin@cygwin.com
Cc: WTan@optimight.com
Subject: Re: Compileing under Cygwin


On Sun, Apr 15, 2001 at 08:25:25PM -0700, Wayne Tan wrote:
>i just installed cygwin 1.1.8 on my Windows 98 (version 2).  
>At the bash shell prompt, i tried to make
>hello.exe program by following the example 4-1 in the "Cygwin user's
Guide",
>but got an error:
>$ gcc hello.c -o hello.exe
>/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined
reference
>to `WinMain@16'
>collect2: ld returned 1 exit status
>
>Would you let me what is wrong with my cygwin configuration?

What was in your hello.c program?

You did download the *entire* cygwin distribution, right?

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list