public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "gcc: error: spawn: No such file or directory" issue on Windows 7
@ 2013-08-07 18:02 Vinh Nguyen
  2013-08-08  2:29 ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Vinh Nguyen @ 2013-08-07 18:02 UTC (permalink / raw)
  To: cygwin

Hi,

I'm using Windows 7 and Cygwin 2.819 64 bit.  I installed gcc
4.8.1.-3.  I get this error when trying to compile:

$ touch foo.cpp
$ gcc -c foo.cpp
gcc: error: spawn: No such file or directory

I'm trying to compile a python package and received this message.  I
think it's a gcc issue as illustrated by the simple example above.  I
was able to compile the python package on windows xp.

Was wondering if anyone could help me resolve this issue.  Thanks.

-- Vinh

--
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] 3+ messages in thread

* Re: "gcc: error: spawn: No such file or directory" issue on Windows 7
  2013-08-07 18:02 "gcc: error: spawn: No such file or directory" issue on Windows 7 Vinh Nguyen
@ 2013-08-08  2:29 ` Christopher Faylor
  2013-08-09  3:52   ` Vinh Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Faylor @ 2013-08-08  2:29 UTC (permalink / raw)
  To: cygwin

On Wed, Aug 07, 2013 at 11:01:45AM -0700, Vinh Nguyen wrote:
>Hi,
>
>I'm using Windows 7 and Cygwin 2.819 64 bit.  I installed gcc
>4.8.1.-3.  I get this error when trying to compile:
>
>$ touch foo.cpp
>$ gcc -c foo.cpp
>gcc: error: spawn: No such file or directory
>
>I'm trying to compile a python package and received this message.  I
>think it's a gcc issue as illustrated by the simple example above.  I
>was able to compile the python package on windows xp.
>
>Was wondering if anyone could help me resolve this issue.  Thanks.

Start here VVV:
>Problem reports:       http://cygwin.com/problems.html

--
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] 3+ messages in thread

* Re: "gcc: error: spawn: No such file or directory" issue on Windows 7
  2013-08-08  2:29 ` Christopher Faylor
@ 2013-08-09  3:52   ` Vinh Nguyen
  0 siblings, 0 replies; 3+ messages in thread
From: Vinh Nguyen @ 2013-08-09  3:52 UTC (permalink / raw)
  To: cygwin

I tried it again with "gcc -v foo.cpp" and found it was using a
cc1plus command, which I couldn't find in my PATH.  I installed all
cygwin packages beginning with gcc-* and was able to compile my python
package.  Consider this issue resolved.

-- Vinh

--
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] 3+ messages in thread

end of thread, other threads:[~2013-08-09  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-07 18:02 "gcc: error: spawn: No such file or directory" issue on Windows 7 Vinh Nguyen
2013-08-08  2:29 ` Christopher Faylor
2013-08-09  3:52   ` Vinh Nguyen

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