Xref: utzoo comp.unix.i386:5334 alt.msdos.programmer:1679 Path: utzoo!attcan!uunet!wuarchive!uwm.edu!psuvax1!rutgers!att!cbnews!mjs From: mjs@cbnews.att.com (martin.j.shannon) Newsgroups: comp.unix.i386,alt.msdos.programmer Subject: Re: MS-C under VP/ix Message-ID: <1990May24.162239.10464@cbnews.att.com> Date: 24 May 90 16:22:39 GMT References: <1244@westmark.UU.NET> Organization: AT&T Bell Laboratories Lines: 19 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.)