delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/22/03:58:35

Date: Wed, 22 May 1996 10:54:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Jeremy W. Deats" <jeremy AT neosoft DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Question about O2C.
In-Reply-To: <jeremy.23.00072C8E@neosoft.com>
Message-Id: <Pine.SUN.3.91.960522104948.1564B-100000@is>
Mime-Version: 1.0

On Tue, 21 May 1996, Jeremy W. Deats wrote:

>  I downloaded O2C from x2ftp with hopes of converting alot of my Borland .OBJ
>  files to djgpp format. I keep getting an error refering to flat-memory model.
>  Does this mean that O2C can only be used with 32-bit TASM .OBJs that use 
>  the flat-memory model? Or, is there someway I can port my 16-bit OBJ's and
>  .LIB's using this program?

No reasonable automated converter can have enough knowledge to make 
everything necessary to convert a real-mode program into a code that 
functionally does the same, but abides by the rules of protected-mode 
programming.  Take a look at section 17.4 of the DJGPP FAQ list which 
lists some of the tricks rutinely done by many real-mode programs that 
will cause GPF in protected mode.

Making such a conversion takes a programmer (hopefully, a human ;-) who 
is familiar both with the original code and with DJGPP facilities.

- Raw text -


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