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

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-Originating-IP: [128.160.133.237]
From: "Rafal Filipczyk" <rafalfi AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.1.8: problem linking using gcc, g77 (NT 4.0)
Date: Tue, 13 Feb 2001 17:13:35 -0000
Mime-Version: 1.0
Message-ID: <F177DJOQdbh77E9q5Hi0000a512@hotmail.com>
X-OriginalArrivalTime: 13 Feb 2001 17:13:35.0245 (UTC) FILETIME=[4C586BD0:01C095E0]

Hi,

Thanks for responding.

gcc -v -o foo foo.c gives:

gcc version 2.95.2-6 19991024 (cygwin experimental).

I think the problem is with linker. g77 also doesn't
link.

Rafal

>From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
>Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
>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)
>Date: Tue, 13 Feb 2001 12:04:41 -0500
>
>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
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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