> I am using the following command: > > $ gcc 02l01.c > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > cannot find -luser32 > collect2: ld returned 1 exit status Hi Max,
I would advise you to go thru the archive. There you can find a simplest syntax how to compile a C program using gcc on Cygwin. In shorter way - below syntax creates desired binary (at least for me :) gcc 02l01.c -o 02l01.exe so you have to specify output binary file and that's all ;-) Greetings -- Tomasz Rojek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/