X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,TW_CX,TW_GC,TW_IB,TW_JL,TW_YM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <4BBDE46D DOT 5070406 AT etr-usa DOT com> Date: Thu, 8 Apr 2010 17:25:17 +0200 Received: by 10.216.87.147 with SMTP id y19mr119970wee.136.1270740317309; Thu, 08 Apr 2010 08:25:17 -0700 (PDT) Message-ID: Subject: Re: "GCC is not found" and "compiler cannot create executables" errors From: david sastre To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I think it is pretty normal stuff: $ gcc -v -save-temps hola.mundo.c Usando especificaciones internas. Objetivo: i686-pc-cygwin Configurado con: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=3D/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/s= bin --libexecdir=3D/usr/lib --datadir=3D/usr/share --localstatedir=3D/var --sysconfdir=3D/etc --infodir=3D/usr/share/info --mandir=3D/usr/share/man --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/usr/share/man -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=3D/usr/bin --libexecdir=3D/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=3Dada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=3Dposix --with-arch=3Di686 --with-tune=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4 CC_FOR_TARGET=3Dgcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatmake GNATBIND_FOR_TARGET=3Dgnatbind AS=3D/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=3D/opt/gcc-tools/bin/as.exe LD=3D/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=3D/opt/gcc-tools/bin/ld.exe --with-ecj-jar=3D/usr/share/java/ecj.jar Modelo de hilos: posix gcc versi=C3=B3n 4.3.4 20090804 (release) 1 (GCC) COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-mtune=3Dgeneric' '-march=3Di686' /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe -E -quiet -v -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/lib= /../../include/w32api hola.mundo.c -mtune=3Dgeneric -march=3Di686 -fpch-preprocess -o hola.mundo.i $ ll hola.mundo.* -rw-r----- 1 Administrador Administradores 62 abr 8 16:31 hola.mundo.c Regards. 2010/4/8, Csaba Raduly : > On Thu, Apr 8, 2010 at 4:36 PM, david sastre wrote: >> >> Both scripts give back: >> >> $ make hola.mundo >> cc -march=3Dprescott -O2 -pipe -fomit-frame-pointer =C2=A0 =C2=A0hola.mu= ndo.c =C2=A0 -o >> hola.mundo >> make: *** [hola.mundo] Error 1 >> >> Also, direct gcc invocation exits silenlty: >> $ gcc hola.mundo.c >> > > According to the first message (and also config.log), gcc -v is able > to run successfully. That would suggest that it's not a missing DLL, > at least for gcc-4.exe > What is the output of: > > $ gcc -v -save-temps hola.mundo.c > $ ls -l hola.mundo.* > > -- > Life is complex, with real and imaginary parts > > -- > 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 > > -- 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