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: gcc and Win32 API



Thanks. The suggested line works...

This is funny though. If I type the exact same command as suggested but
include the -lgdi32 just after the gcc instead of at the end of the line
then the complier still returns the undefined reference to
`GetStockObject@4' error. I thought that the order in which the flags were
entered on the command line did not matter.

Thanks,

Neil Zanella
-- nzanella@cs.mun.ca


On Mon, 16 Oct 2000, Robinow, David wrote:

> gcc -o zanella zanella.c -lgdi32


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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