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: <4BBDE46D DOT 5070406 AT etr-usa DOT com> Date: Thu, 8 Apr 2010 16:36:07 +0200 Received: by 10.216.160.12 with SMTP id t12mr87874wek.154.1270737367412; Thu, 08 Apr 2010 07:36:07 -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 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 2010/4/8, Warren Young : > 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 > 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 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