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: <200406291329.i5TDTxiw073605@gw.core> Date: Tue, 29 Jun 2004 16:21:24 +0300 From: Robert Golovniov Reply-To: Robert Golovniov To: The Cygwin Mailing List Subject: GCC problems Comments: CAcert Assurer (www.cacert.org) & Thawte WOT Notary (www.thawte.org) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OpenPGP-Key-ID: 5A1D9F03633F6D07 X-OpenPGP-Key-Fprint: 1A1C 29F1 2A0C 4C4E 0BDA C8EE 5A1D 9F03 633F 6D07 X-OpenPGP-Key-URL: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x633F6D07 X-Relayed-By: GPGrelay Version 0.950 (Win32) X-IsSubscribed: yes Hello, I am trying to complile some programs but get this error message: "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lusr32 collect2: ld returned 1 exit status" Another package add these two lines: "*** The command '/usr/bin/gcc -o conftest -g -O2 conftest.c' failed *** You must set the environment variable CC to a working compiler." Can anybody suggest how to fix it? Where do I set this variable? -- -=Robert & Beata Golovniov | Lviv, Ukraine=- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailto:golovniov AT interia DOT pl?subject=PGP%20Key&Body=Embedded%20key ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 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/