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:references :subject:mime-version:content-type:content-transfer-encoding; q= dns; s=default; b=IHO8IQxaL3jyCGi9CZNqzk4yDDkVLGorS/gGbovF8nO9ik Lx3ZlQPFlCtp4VaT1V4snwWg63Q3tanIW8GPPRmpNiSSTsqBs7+02wvSJj+D7a97 ycYv3dX+k6T/iunVRSY9sRk5tTSTi0i6Chk7FEmgKuK+WHSSxxwUjZ7I5P22o= 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:references :subject:mime-version:content-type:content-transfer-encoding; s= default; bh=A7x0FJUw+wpBtutyv72xi9lVsxc=; b=HRGS4dobVyxs73AieajP kq/qzITxOrcFgy2vnvgbRKOdP2/Da4+OTk4WetpOx3po1CdZPOlW6C1wTsiIBgOH afcjUh60EgJVX4pZ6esNsVtyxXEMPuPrQneyoYPOIAZ0hx2r3NoavPBVp9RDfkAX pGjBhPjbkcYfMI6hMjyDMmA= 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=1.7 required=5.0 tests=AWL,BAYES_50,EXECUTABLE_URI,KAM_EXEURI,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: cyclone.coherentlogix.com Date: Mon, 2 Jun 2014 14:19:23 -0500 (CDT) From: David Friedman To: cygwin AT cygwin DOT com Message-ID: <691109128.508883.1401736763106.JavaMail.zimbra@coherentlogix.com> In-Reply-To: <538CB578.6040801@cygwin.com> References: <236868794 DOT 501756 DOT 1401726522544 DOT JavaMail DOT zimbra AT coherentlogix DOT com> <538CB578 DOT 6040801 AT cygwin DOT 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 > From: "Larry Hall (Cygwin)" > Sent: Monday, June 2, 2014 12:33:44 PM > Subject: Re: It's back -- "gcc: error: spawn: No such file or directory" > On 06/02/2014 12:28 PM, David Friedman wrote: > >> 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? > It is in /usr/bin. > > -- > Larry ________ I ran find for as.exe, and it turned out to be in /usr/i686-pc-mingw32/bin. Added that to my PATH, and now gcc goes past that point and fails with: /usr/i686-pc-mingw32/bin/ld: cannot find -ladvapi32 /usr/i686-pc-mingw32/bin/ld: cannot find -lshell32 /usr/i686-pc-mingw32/bin/ld: cannot find -luser32 /usr/i686-pc-mingw32/bin/ld: cannot find -lkernel32 collect2: error: ld returned 1 exit status Ran find for *advapi32*, and found libadvapi32.a in /usr/lib/w32api. Added that to my PATH, and got the same error again. At this point I can only conclude that there is something wrong with my Cygwin installation, that something failed to complete on the gcc 4.3.4 to 4.8.3 update; it was working fine before this. All I can think of to do is wipe out Cygwin and do a complete up-to-date reinstall. Meanwhile I installed MinGW with MSYS and this gives me a gcc 4.8.3 that I can at least finish my current project with. Larry: Thanks for sticking with me so far. - dhf -- 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