Mail Archives: djgpp/1996/05/22/03:58:35
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 -