NTVDM CPU error on Cygwin 1.3.22-1 (Win2000) building GCC

Ken Roser kroser at pobox.com
Tue Apr 22 16:37:55 UTC 2003

I'm building the GNU C/C++ cross compiler toolset on Cygwin 1.3.22-1 on
Windows 2000 from the source tar files with patches per the instructions
in the "Getting Started with RTEMS for C/C++ Users".  I've been
successful thus far in configuring and building the BINUTILS.  Now I'm in
the midst of building GCC (make all) but it fails when checking the C

I got a pop-up that says: 
16 bit MS-DOS Subsystem
The NTVDM CPU has encountered an illegal instruction.
CS:05e5 IP:0295 OP:63 ff fc 7c a9

The make output at the time says:

cd tests; make all
cd testsuite; make all
cd tests; make all
cd testsuite; make all
Configuring in powerpc-rtems/libf2c
loading cache ./config.cache
checking if compiler f771 has been built... yes
checking for gcc... /cygdrive/c/home/tools/b-gcc/gcc/xgcc
-B/opt/rtems/targ-include -idirafter
/cygdrive/c/home/tools/b-gcc/powerpc-rtems/newlib/targ-include -idirafter
/cygdrive/c/home/tools/gcc-2.95.2/newlib/libc/include -nostdinc
checking whether the C compiler (/cygdrive/c/home/tools/b-gcc/gcc/xgcc
-B/opt/rtems/powerpc-rtems/bin/ -idirafter
-idirafter /cygdrive/c/home/tools/gcc-2.95.2/newlib/libc/include
-nostdinc -g -O2 ) works ...

At this point I get the NTVDM error.

Any ideas or help?
  Ken Roser
  kroser at pobox.com

More information about the users mailing list