www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/08/11:49:36

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: <h2w7758a5c31004080825m884404f6jbf0108177af1229b@mail.gmail.com>
References: <k2i7758a5c31004080511r876491dfy6326bb0712dca648 AT mail DOT gmail DOT com> <4BBDE46D DOT 5070406 AT etr-usa DOT com> <v2w7758a5c31004080736ja46e3d08q602c97313e945408 AT mail DOT gmail DOT com> <m2o1ef5a52f1004080818v2cb7ef14ke2b22a5f450b7bfb AT mail DOT gmail DOT com> <h2w7758a5c31004080825m884404f6jbf0108177af1229b AT mail DOT gmail DOT com>
Date: Thu, 8 Apr 2010 17:49:17 +0200
Message-ID: <v2r1ef5a52f1004080849z1693fc01v3b2d924f2c04b91@mail.gmail.com>
Subject: Re: "GCC is not found" and "compiler cannot create executables" errors
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <d DOT sastre DOT medina AT gmail DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019