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


>OK. Here is the exact error message (which I should have included):

>tulip $ gcc blather.c
>/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/ccd3Ck45.o(.text+0x88):blather.c:
un
>defined reference to `GetStockObject@4'
>collect2: ld returned 1 exit status
>tulip $

>BTW, Cygwin is installed on a FAT partition. The rest of Win2K is on
>NTFS.
>Does this matter? (probablly not). What is GetStockObject?

GREP (or findstr) and ye shall find.
Look in wingdi.h:  HGDIOBJ WINAPI GetStockObject(int)
and then look in libgdi32.a

Cheers

_____________________________________________________________________________
http://clubs.yahoo.com.au - Yahoo! Clubs
- Join a club or build your own!

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