delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/13/12:11:58

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A896929.9CF1A397@yahoo.com>
Date: Tue, 13 Feb 2001 12:04:41 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Rafal Filipczyk <rafalfi AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: 1.1.8: problem linking using gcc, g77 (NT 4.0)
References: <F261Jpjc0D543TuylJc00007b42 AT hotmail DOT com>

Rafal Filipczyk wrote:
> 
> Hi,
> 
> If I attempt to compile anything with gcc, g77 etc, I get a message:
> 
> "/usr/lib/libcygwin.a(_cygwin_crt0_common.o)(.text+0xe6):_cygwin_crt0_c:
> undefined
> reference to 'GetModuleHandle AT 4'
> collect2: ld returned 1 exit status"
> 

What version of GCC?

What does `gcc -v -o foo foo.c' give?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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