public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc-4.8.2-1: /bin/gcc fails
@ 2013-11-02  6:23 David Rothenberger
  2013-11-02  9:36 ` Corinna Vinschen
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: David Rothenberger @ 2013-11-02  6:23 UTC (permalink / raw)
  To: cygwin

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@acm.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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-11-22 19:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-02  6:23 gcc-4.8.2-1: /bin/gcc fails David Rothenberger
2013-11-02  9:36 ` Corinna Vinschen
2013-11-03  4:54   ` Yaakov (Cygwin/X)
2013-11-03 19:22     ` David Rothenberger
2013-11-04 11:42     ` Corinna Vinschen
2013-11-04 14:45       ` Charles Wilson
2013-11-04 17:35         ` Andrey Repin
2013-11-05  2:18         ` Yaakov (Cygwin/X)
2013-11-05  9:52           ` Corinna Vinschen
2013-11-05 16:03             ` Charles Wilson
2013-11-05 16:18               ` Corinna Vinschen
2013-11-05  3:05       ` Andrey Repin
2013-11-05  3:39         ` Robert Pendell
2013-11-05  4:20           ` Robert Pendell
2013-11-05  6:35         ` Andrey Repin
2013-11-10 18:08 ` Bengt Larsson
2013-11-22 19:02 ` jojelino
2013-11-22 19:36   ` jojelino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).