delorie.com/archives/browse.cgi | search |
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,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4BBDE46D.5070406@etr-usa.com> |
References: | <k2i7758a5c31004080511r876491dfy6326bb0712dca648 AT mail DOT gmail DOT com> <4BBDE46D DOT 5070406 AT etr-usa DOT com> |
Date: | Thu, 8 Apr 2010 16:36:07 +0200 |
Message-ID: | <v2w7758a5c31004080736ja46e3d08q602c97313e945408@mail.gmail.com> |
Subject: | Re: "GCC is not found" and "compiler cannot create executables" errors |
From: | david sastre <d DOT sastre DOT medina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
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 |
2010/4/8, Warren Young <warren AT etr-usa DOT com>: > On 4/8/2010 6:11 AM, david sastre wrote: >> >> 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. > > Write this out to a file called hello.c: > > #include <stdio.h> > int main(void) > { > printf("Hello, world!\n"); > return 0; > } > > Then say "make hello" in that directory. If you don't get a "hello" > program that says "Hello, world!" when you run it, you haven't got the > compiler and associated stuff installed. Post the errors you get. I know that stuff is installed, because I use often. What I can't figure out is why is has stopped working. I already tried that. My script was also the simplest case possible: l #include <stdio.h> main(){ printf("Hola Mundo!\n"); } Both scripts give back: $ make hola.mundo cc -march=prescott -O2 -pipe -fomit-frame-pointer hola.mundo.c -o hola.mundo make: *** [hola.mundo] Error 1 Also, direct gcc invocation exits silenlty: $ gcc hola.mundo.c Regards. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |