Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.0.20020321182319.00ae94e0@mail.unisa.it> X-Sender: gspagnuo AT mail DOT unisa DOT it X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 21 Mar 2002 18:31:12 +0100 To: cygwin AT cygwin DOT com From: "G.Spagnuolo" Subject: gcc: please help! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Hi all, I've used gcc for a long time by means of DJGPP and now I'd like to use it under Cygwin. I installed Cygwin on my Windows 2000 machine, but, once written a simple test program prova.cc I have: Administrator AT PC2 c:/cygwin/projects/skin $ gcc prova.cc /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann ot find -luser32 collect2: ld returned 1 exit status To avoid errors, I downloaded the whole distribution of cygwin. In fact I have libuser32.a in "C:\cygwin\usr\lib\w32api". Where I'm doing the error? Thanks very much for your suggestions. Regards G.Spagnuolo -- Dr. Giovanni Spagnuolo, Ph.D. Assistant Professor University of Salerno Dipartimento di Ingegneria dell'Informazione ed Ingegneria Elettrica (D.I.I.I.E.) Via Ponte Don Melillo 84084 Fisciano - Salerno - Italy phone: +39 089 964258 fax: +39 089 964218 e-mail: spanish AT ieee DOT org "You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz -- 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/