"GCC is not found" and "compiler cannot create executables" errors

david sastre d.sastre.medina@gmail.com
Thu Apr 8 12:12:00 GMT 2010


Hello,

Yesterday (still under1.7.3) I had a "compiler not found" and a
"compiler cannot create executables" errors while trying to build some
standard apps, i.e. nginx.
I tried reinstalling gcc related packages under devel section with no luck.
Today, I tried again, there has been also an (automatic) update to 1.7.4.
Still got these errors:

$ uname -a
CYGWIN_NT-5.1 sith 1.7.4(0.225/5/3) 2010-04-07 11:02 i686 Cygwin

$ ./configure
checking for OS
 + CYGWIN_NT-5.1 1.7.4(0.225/5/3) i686
checking for C compiler ... not found
./configure: error: C compiler gcc is not found

$ ll $(which gcc)
lrwxrwxrwx 1 Administrador Administradores 21 abr  7 16:47
/usr/bin/gcc -> /etc/alternatives/gcc*

$ ll /etc/alternatives/gcc
lrwxrwxrwx 1 Administrador Administradores 18 abr  8 13:26
/etc/alternatives/gcc -> /usr/bin/gcc-4.exe*

$ ll /usr/bin/gcc-4.exe
-rwxr-xr-x 3 Administrador Administradores 1,2M dic 11 09:24 /usr/bin/gcc-4.exe*

$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
Esto es software libre; vea el código para las condiciones de copia.  NO hay
garantía; ni siquiera para MERCANTIBILIDAD o IDONEIDAD PARA UN PROPÓSITO EN
PARTICULAR

What could be happening?
Someone else is getting this?

Regards.
P.D. sorry for the html, I'm sending this from the webmail...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list