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

Joel Sherrill joel.sherrill at OARcorp.com
Tue Apr 22 16:58:04 UTC 2003



Ken Roser wrote:
> 
> 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
> compiler.
> 
> I got a pop-up that says:
> 16 bit MS-DOS Subsystem
> ~/tools/b-gcc
> 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/cygdrive/c/home/tools/b-gcc/gcc/
> -B/cygdrive/c/home/tools/b-gcc/powerpc-rtems/newlib/
> -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/cygdrive/c/home/tools/b-gcc/gcc/
> -B/cygdrive/c/home/tools/b-gcc/powerpc-rtems/newlib/
> -B/opt/rtems/powerpc-rtems/bin/ -idirafter
> /cygdrdive/c/home/tools/b-gcc/powerpc-rtems/newlib/targ-include
> -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?

I haven't seen this one in a while but found this great explanation in
the
mailing list archives.

http://www.rtems.com/rtems/maillistArchives/rtems-users/2001/march/msg00178.html

> --
>   Ken Roser
>   kroser at pobox.com

--joel



More information about the users mailing list