delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/29/19:38:55

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: 16 bit MS-DOS Subsystem cygwin make
Date: Fri, 30 Jun 2006 00:38:41 +0100
Message-ID: <003801c69bd5$272cbae0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <2672.69.180.208.15.1151622803.squirrel@vuwebmail.vanderbilt.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5TNcp1V010847

On 30 June 2006 00:13, Kaul, Dimple wrote:

> Hi all,
> I had installed Cygwin sometime back on WindowsXp machine.
> When I use simple g++ command for simple programs it compiles and links
> program properly.
> 
> When I try to make my project with Eclipse IDE with CDT plugin and try to
> build my program using make file it gives me one popup box
> 
>
------------------------------------------------------------------------------
------------------------------------
> 16 bit MS-DOS Subsystem –
> C:\eclipse\plugins\org.eclipse.cdt.core.win32_3.0.2\os\win32\x86\starter.exe
> 
> The NTVDM CPU has encountered an illegal instruction CS:00cf IP:032c OP:ff
> ff 05 00 1d  Choose ‘Close’ to terminate the application
> 
> I thought there is some problem with Eclipse so I tried to make my C++
> project from cygwin command line. And this time also I am getting same
> error
> 
>
------------------------------------------------------------------------------
------------------------------------
> 16 bit MS-DOS Subsystem –
> /cygwin/c/MyProject/
> 
> The NTVDM CPU has encountered an illegal instruction CS:0000 IP:0077 OP:f0
> 37 05 0a 02  Choose ‘Close’ to terminate the application
> 
> 
> 
> Does anyone have an idea what the problem is?

  It's trying to open a cygwin symlink file as an executable, finding it has
no PE header and assuming it's an old 16-bit DOS-style .com program, so it's
trying to run it and crashing when the CPU hits some ASCII or binary data.
Perhaps you could work around it by pointing Eclipse directly at the .exe that
the symlink points to?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019