This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.1.8: problem linking using gcc, g77 (NT 4.0)


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@yahoo.com>
>Reply-To: Earnie Boyd <cygwin@cygwin.com>
>To: Rafal Filipczyk <rafalfi@hotmail.com>
>CC: cygwin@cygwin.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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]