Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Subject: GCC- Doubt To: cygwin AT cygwin DOT com X-Mailer: Lotus Notes Release 5.0.2b (Intl) 16 December 1999 Message-ID: From: m_shanmugasundaram DOT cgmaersk AT maerskdata DOT dk Date: Wed, 5 Sep 2001 15:27:56 +0530 X-MIMETrack: Serialize by Router on MDCSMTP/MDG(Release 5.0.6a |January 17, 2001) at 05-09-2001 12:43:58 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hi , I downloaded and installed the cygwin today. When i tried to compile the simple hello.c program the following error occured. please help me. The program is: #include int main() { printf("Hello world\n"); return 0; } The error reported is: $gcc -o hello hello.c /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status Cheers Shan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/