X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=Xv7rJ5mW3eraitzr1yo1lh4wgz4MKuUQvRdmzzEmHzyNaFJkByn4+ 8R/p9+axGBh2i3yh3JaTOPE2Q4rkCVfGR8p0xXf90QxZ/o4pc2iWdTpzcecFT5bs xUgrMdIBk8BCuklHhF7aB48jwXg7ypaOC8b1hId2nQXe4NvBVhl/qI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=fMqW+feOKodPTPMzO7vLTKUk4Gs=; b=fcPQnlhNzHc7xBnprcg5ogjiWlKi UIjnd/Ae1U4AIroTn38FS8DJxk0n/e4xIvgmvzBNq2+fmV2eRX/cZEFrcTmNV3qS rpodGQVpsNmWoynnURUP01YJEDZnZiyXIe6ZcZItO63Kn4S2F9+AH5db+gb7J4Qs WXIWNEFJ74rWlaQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: cyclone.coherentlogix.com Date: Mon, 2 Jun 2014 11:28:42 -0500 (CDT) From: David Friedman To: cygwin AT cygwin DOT com Message-ID: <236868794.501756.1401726522544.JavaMail.zimbra@coherentlogix.com> In-Reply-To: <1244589943.501250.1401725538999.JavaMail.zimbra@coherentlogix.com> Subject: Re: It's back -- "gcc: error: spawn: No such file or directory" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes OK, that makes sense. So what I should do is run gcc with the -v option to see what it's trying to spawn (I recall that in a previous thread for this error, it was something called cc1). Here's the last few lines of the result, keeping my normal PATH: GNU C (GCC) version 4.8.3 (i686-pc-cygwin) compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425 COLLECT_GCC_OPTIONS='-v' '-o' 'QC_enc_dec.exe' '-mtune=generic' '-march=i686' as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/cc05Tigm.o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccgnoAu9.s GNU assembler version 2.23.2 (mingw32) using BFD version (GNU Binutils) 2.23.2 Assembler messages: Fatal error: can't create /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/cc05Tigm.o: No such file or directory Interestingly, the error message now is different. But with my PATH set to either just /bin or just /usr/bin I get this: GNU C (GCC) version 4.8.3 (i686-pc-cygwin) compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425 COLLECT_GCC_OPTIONS='-v' '-o' 'QC_enc_dec.exe' '-mtune=generic' '-march=i686' as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccASOmoc.o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccGXQsYR.s gcc: error: spawn: No such file or directory Does "as" mean the assembler? If it's not in /bin or /usr/bin, where is it? - dhf ----- Original Message ----- From: "Larry Hall (Cygwin)" You're misinterpreting the error message (it's a common problem with the way the error messages are constructed). spawn is not missing. It's the context. Whatever 'gcc' is trying to spawn is the thing it cannot find. -- Larry -- 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