[comp.unix.i386] MS-C under VP/ix

mjs@cbnews.att.com (martin.j.shannon) (05/24/90)

In article <1244@westmark.UU.NET> dave@westmark.UU.NET (Dave Levenson) writes:
>  Just got the new
>MS-C, version 6.0.  When I compile with the /Zi or /Zd options,
>I get an executable that won't run in this environment -- it
>attempts to execute a privileged instruction somwhere, and causes
>UNIX to trap and shut down the VP/ix process.
>-- 
>Dave Levenson			Voice: 201 647 0900  Fax: 201 647 6857

Dave, it may help if you explicitly use a /G0 flag to msc.  That should
force the compiler to use *only* 8086 instructions.  It may very well be
that the compiler is doing some auto-processor-type-detect, and since
some significant set of (non-privileged) 80386 instruction formats will
actually work in 80386 V86 mode, it is incorrectly (semi-correctly?)
flagging the machine as an 80386.
-- 
Marty Shannon; AT&T Bell Labs; Liberty Corner, NJ, USA
(Affiliation is given for identification only:
I don't speak for them; they don't speak for me.)