delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/02/02:23:46

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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding:reply-to; q=dns; s=
default; b=LTkJDdiHaNiPJDfRd8F+IaDSdcuzwqZpr3Vt+L/h7UMjLpKZ7jNUc
EWv8KZ1+LEQO6hnyak2uzjQwLRwBiHgg5+3hN67vecxivTF9jo+J4mcRxAns7hI6
FDcN/LmfIL17wTPD08PhAO7huA2nUYuqe4TtZhJmS4m5Tv6W1q8SWY=
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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding:reply-to; s=default; bh=
OPj9X5wYqLVPx4WKNnNrFUuF/gc=; b=rvHWo0uT4UTY8i/zL1DVNZQKvHr1e2pK
DFd0/2yVxGDaVDBDQTeH2X/777b/sP/nvnL0hO3Uc7Eyq4q/dIi9KITQANFqnzRx
deHishSfQb7mH281RyKRL4EupA2aqn5j5qfjk+SF5tfefGAJAV643pP9V73yYhNZ
WWqRT/TnS6w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: qmta09.emeryville.ca.mail.comcast.net
Message-ID: <52749A63.70803@acm.org>
Date: Fri, 01 Nov 2013 23:23:31 -0700
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: gcc-4.8.2-1: /bin/gcc fails
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

With gcc-4.8.2-1, the following fails:

% touch /tmp/t.c
% /bin/gcc -c /tmp/t.c
gcc: error: spawn: No such file or directory

This works correctly if gcc is invoked as "gcc" or "/usr/bin/gcc".
It also works correctly with 4.8.1.

It appears this is due to a change from /usr/lib to /usr/libexec.
/bin/gcc attempts to find cc1 under "/bin/../libexec/...". In 4.8.1,
this was "/bin/../lib/...", which works because /lib is mapped to
/usr/lib by Cygwin. /usr/bin/gcc uses "/usr/bin/../libexec" which
also works fine.

I can work around the problem as follows:

% ln -s /libexec /usr/libexec

-- 
David Rothenberger  ----  daveroth AT acm DOT org

"I may be synthetic, but I'm not stupid"
                -- the artificial person, from _Aliens_

--
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