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)


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


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