Linux and CPU requirements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2BCBD.A67520D0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi All,

   I apologize for sending a posting without a subject line. I'm
resubmitting it:

Hi All,

   This is not a programming problem but a question concerning CPUs and
Linux which came up as a result of a programming error; so, please, read on.

   While executing an assembly program I copied as an exercise from a text
book, I got the following error:

The NTVDM CPU has encountered an illegal instruction ...

   While researching it, I found a posting shown below; but, I'm not
concerned with the error message or its solution. What I want to know is
when I install a Linux distro on my PC and write assembly programs using it,
will I get this message or am I getting it just because I'm coding on a PC
whose OS is Windows 2000 and I'm in the DOS window. The PC I'll be
installing Linux on currently has Win98 which I will have wiped clean.

Thanks,

Walt

Raw text]

16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal
instruction
From: "Vsevolod Buzinov" <vsv at inweb dot ru>
To: <cygwin at cygwin dot com>
Date: Sat, 27 Apr 2002 14:14:28 +0400
Subject: 16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal
instruction
Hello everybody.

I has encountered an NTVDM CPU error while trying to make a cygwin hosted
linux crossgcc compiler.
I wonder if it is a known issue and is there any way to deal with this?

I have configured gcc successfully and issued make.
NTVDM fails on the stage of building libgcc I guess:

Configuring in i386-pc-linux-gnu/libiberty
loading cache ../config.cache
checking host system type... i386-pc-linux-gnu
checking build system type... i686-pc-cygwin
checking for i386-pc-linux-gnu-ar... (cached) i386-pc-linux-gnu-ar

[... skipped ...]

checking whether errno must be declared... no
checking whether the C compiler
(/opt/src/build-gcc-i386-pc-linux-gnu/gcc/xgcc -
B/opt/src/build-gcc-i386-pc-linux-gnu/gcc/ -B/usr/local/i386-pc-linux-gnu/bi
n/ -
B/usr/local/i386-pc-linux-gnu/lib/ -isystem
/usr/local/i386-pc-linux-gnu/include
-g -O2 ) works... yes
checking whether the C compiler
(/opt/src/build-gcc-i386-pc-linux-gnu/gcc/xgcc -
B/opt/src/build-gcc-i386-pc-linux-gnu/gcc/ -B/usr/local/i386-pc-linux-gnu/bi
n/ -
B/usr/local/i386-pc-linux-gnu/lib/ -isystem
/usr/local/i386-pc-linux-gnu/include
-g -O2 ) is a cross-compiler... no

Here I get a pop-up error message saying
16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal
instruction [dump] Close Ignore

It seems to be a well-known issue but I can't find any way to get by it.
Any help much appreciated.

Thanks,
Vsevolod.



------_=_NextPart_001_01C2BCBD.A67520D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Linux and CPU requirements</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; I apologize for sending a =
posting without a subject line. I'm resubmitting it:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; This is not a programming =
problem but a question concerning CPUs and Linux which came up as a =
result of a programming error; so, please, read on.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; While executing an =
assembly program I copied as an exercise from a text book, I got the =
following error:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The NTVDM CPU has encountered an =
illegal instruction ...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; While researching it, I =
found a posting shown below; but, I'm not concerned with the error =
message or its solution. What I want to know is when I install a Linux =
distro on my PC and write assembly programs using it, will I get this =
message or am I getting it just because I'm coding on a PC whose OS is =
Windows 2000 and I'm in the DOS window. The PC I'll be installing Linux =
on currently has Win98 which I will have wiped clean.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Walt</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Raw text]</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">16 bit MS-DOS Subsystem -- The NTVDM =
CPU has encountered an illegal instruction</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">From: &quot;Vsevolod Buzinov&quot; =
&lt;vsv at inweb dot ru&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To: &lt;cygwin at cygwin dot =
com&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Date: Sat, 27 Apr 2002 14:14:28 =
+0400</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Subject: 16 bit MS-DOS Subsystem -- =
The NTVDM CPU has encountered an illegal instruction</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Hello everybody.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I has encountered an NTVDM CPU error =
while trying to make a cygwin hosted</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">linux crossgcc compiler.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I wonder if it is a known issue and =
is there any way to deal with this?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have configured gcc successfully and =
issued make.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">NTVDM fails on the stage of building =
libgcc I guess:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Configuring in =
i386-pc-linux-gnu/libiberty</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">loading cache ../config.cache</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">checking host system type... =
i386-pc-linux-gnu</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">checking build system type... =
i686-pc-cygwin</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">checking for i386-pc-linux-gnu-ar... =
(cached) i386-pc-linux-gnu-ar</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">[... skipped ...]</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">checking whether errno must be =
declared... no</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">checking whether the C =
compiler</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">(/opt/src/build-gcc-i386-pc-linux-gnu/gcc/xgcc -</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">B/opt/src/build-gcc-i386-pc-linux-gnu/gcc/ =
-B/usr/local/i386-pc-linux-gnu/bi</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">n/ -</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">B/usr/local/i386-pc-linux-gnu/lib/ =
-isystem</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">/usr/local/i386-pc-linux-gnu/include</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-g -O2 ) works... yes</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">checking whether the C =
compiler</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">(/opt/src/build-gcc-i386-pc-linux-gnu/gcc/xgcc -</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">B/opt/src/build-gcc-i386-pc-linux-gnu/gcc/ =
-B/usr/local/i386-pc-linux-gnu/bi</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">n/ -</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">B/usr/local/i386-pc-linux-gnu/lib/ =
-isystem</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">/usr/local/i386-pc-linux-gnu/include</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-g -O2 ) is a cross-compiler... =
no</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Here I get a pop-up error message =
saying</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">16 bit MS-DOS Subsystem -- The NTVDM =
CPU has encountered an illegal</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">instruction [dump] Close =
Ignore</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">It seems to be a well-known issue but =
I can't find any way to get by it.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Any help much appreciated.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Vsevolod.</FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C2BCBD.A67520D0--





[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]