X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,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:49:17 +0200 Received: by 10.213.38.2 with SMTP id z2mr229891ebd.68.1270741757352; Thu, 08 Apr 2010 08:49:17 -0700 (PDT) Message-ID: Subject: Re: "GCC is not found" and "compiler cannot create executables" errors From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 On Thu, Apr 8, 2010 at 5:25 PM, david sastre wr= ote: > I think it is pretty normal stuff: > > $ gcc -v -save-temps hola.mundo.c > Usando especificaciones internas. > Objetivo: i686-pc-cygwin > Configurado con: (snip) > gcc versi=F3n 4.3.4 20090804 (release) 1 (GCC) > COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-mtune=3Dgeneric' '-march=3Di68= 6' > =A0/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/l= ib/../../include/w32api > hola.mundo.c -mtune=3Dgeneric -march=3Di686 -fpch-preprocess -o > hola.mundo.i There was supposed to be some more output here, for example: (my comments marked with ***) $ gcc -std=3Dgnu99 -c -DHAVE_CONFIG_H -Ded_PROGRAM=3D\"ed\" -DENABLE_MERGE -I. -I./src -I./gl/lib -g -O2 -o gl/lib/argmatch.o gl/lib/argmatch.c -march=3Dprescott -O2 -fomit-frame-pointer -v -save-temps Using built-in specs. Target: i686-pc-cygwin (snip) gcc version 4.3.4 20090804 (release) 1 (GCC) COLLECT_GCC_OPTIONS=3D'-std=3Dgnu99' '-c' '-DHAVE_CONFIG_H' '-Ded_PROGRAM=3D"ed"' '-DENABLE_MERGE' '-I.' '-I./src' '-I./gl/lib' '-g' '-O2' '-o' 'gl/lib/argmatch.o' '-march=3Dprescott' '-O2' '-fomit-frame-pointer' '-v' '-save-temps' /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe -E -quiet -v -I. -I./src -I./gl/lib -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 -DHAVE_CONFIG_H -Ded_PROGRAM=3D"ed" -DENABLE_MERGE gl/lib/argmatch.c -march=3Dprescott -std=3Dgnu99 -fomit-frame-pointer -fworking-directory -O2 -O2 -fpch-preprocess -o argmatch.i *** Now comes the output of cc1 -E ; you have no output from cc1 -E ignoring nonexistent directory "/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/include" ignoring duplicate directory "/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/lib/../../inc= lude/w32api" #include "..." search starts here: #include <...> search starts here: . ./src ./gl/lib /usr/local/include /usr/lib/gcc/i686-pc-cygwin/4.3.4/include /usr/lib/gcc/i686-pc-cygwin/4.3.4/include-fixed /usr/include /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api End of search list. COLLECT_GCC_OPTIONS=3D'-std=3Dgnu99' '-c' '-DHAVE_CONFIG_H' '-Ded_PROGRAM=3D"ed"' '-DENABLE_MERGE' '-I.' '-I./src' '-I./gl/lib' '-g' '-O2' '-o' 'gl/lib/argmatch.o' '-march=3Dprescott' '-O2' '-fomit-frame-pointer' '-v' '-save-temps' /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe -fpreprocessed argmatch.i -quiet -dumpbase argmatch.c -march=3Dprescott -auxbase-strip gl/lib/argmatch.o -g -O2 -O2 -std=3Dgnu99 -version -fomit-frame-pointer -o argmatch.s GNU C (GCC) version 4.3.4 20090804 (release) 1 (i686-pc-cygwin) compiled by GNU C version 4.3.4 20090804 (release) 1, GMP version 4.3.1, MPFR version 2.4.1-p5. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: d5cdab7e958df0270fe64611765e0bb6 COLLECT_GCC_OPTIONS=3D'-std=3Dgnu99' '-c' '-DHAVE_CONFIG_H' '-Ded_PROGRAM=3D"ed"' '-DENABLE_MERGE' '-I.' '-I./src' '-I./gl/lib' '-g' '-O2' '-o' 'gl/lib/argmatch.o' '-march=3Dprescott' '-O2' '-fomit-frame-pointer' '-v' '-save-temps' /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/as.exe -v -I. -I./src -I./gl/lib -o gl/lib/argmatch.o argmatch.s GNU assembler version 2.19.51 (i686-cygwin) using BFD version (GNU Binutils) 2.19.51.20090704 COMPILER_PATH=3D/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cyg= win/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/:= /usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gc= c/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cyg= win/bin/ LIBRARY_PATH=3D/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cygw= in/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-std=3Dgnu99' '-c' '-DHAVE_CONFIG_H' '-Ded_PROGRAM=3D"ed"' '-DENABLE_MERGE' '-I.' '-I./src' '-I./gl/lib' '-g' '-O2' '-o' 'gl/lib/argmatch.o' '-march=3Dprescott' '-O2' '-fomit-frame-pointer' '-v' '-save-temps' I think it's time for cygcheck /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe Perhaps one of these is missing: C:\cygwin\bin\cyggmp-3.dll C:\cygwin\bin\cygmpfr-1.dll --=20 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