This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC problems


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@interia.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]