[Techtalk] Some questions about cygwin

Yaroslav Fedevych jaroslawfd at ukrpost.net
Fri Jan 16 16:49:11 EST 2004


Rasjid Wilcox wrote:
 >
 > I can assure you that one can compile things under cygwin, either to be
 > dependant on the cygwin dll, or even as a 'clean' windows executable. 
  I have

I know that; otherwise, how would it exist? The thing I don't know is
how to tell gcc and ld to search for Windows libraries; looking at
config.log revealed that gcc cannot find user32.dll.
/cygdrive/c/WINNT/System32 is present in PATH, I added it also to CFLAGS
as "-L/cygdrive/c/WINNT/system32", as well as to the LIBRARY_PATH, but
still no result (well, it finds user32, but ld complains about undefined
references).

Moreover, I have googled around cygwin mailing list but found no
relevant entries.

I have a feeling that solution is simple, but I just cannot catch it...


 > Cheers,
 >
 > Rasjid.
 >






More information about the Techtalk mailing list