delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/15/23:35:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 15 Apr 2001 23:34:28 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: WTan AT optimight DOT com
Subject: Re: Compileing under Cygwin
Message-ID: <20010415233428.A11842@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, WTan AT optimight DOT com
References: <354EF7549C10D311B8EE009027784E9A142B70 AT omcdc01 DOT optimight DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <354EF7549C10D311B8EE009027784E9A142B70@omcdc01.optimight.com>; from WTan@optimight.com on Sun, Apr 15, 2001 at 08:25:25PM -0700

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019