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 X-Originating-IP: [128.160.133.237] From: "Rafal Filipczyk" 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 Content-Type: text/plain; format=flowed Message-ID: 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 >Reply-To: Earnie Boyd >To: Rafal Filipczyk >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