Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <354EF7549C10D311B8EE009027784E9A142B70@omcdc01.optimight.com> From: Wayne Tan To: "'cygwin AT cygwin DOT com'" Subject: Compileing under Cygwin Date: Sun, 15 Apr 2001 20:25:25 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain 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 AT 16' collect2: ld returned 1 exit status Would you let me what is wrong with my cygwin configuration? wayne -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple