cgcccygwinntvdm

Unable to launch GCC, it crashes


I am using GCC 3.4.4 through Cygwin on Windows 7 x64. It has work flawlessly for a long time. Now GCC has recently stopped working with an error everytime it's launched:

gcc.exe

The NTVDM CPU has encountered a illegal instruction

CS:0000 IP0075 OP:f0 00 f0 37 05 Choose 'Close' to terminate the application.

I've tried re-installing GCC through cygwin, and i've tried adding full permissions on the file for all users.

How can this be solved?


Solution

  • Long ago I had a similar problem which seemed to affect like every third program. After hours and hours of searching, the cause was that the Cygwin virtual volume had the mount parameters messed up. It was doing newline translation when it should not have been (or vice versa).