Date: Wed, 22 May 1996 10:54:37 +0200 (IST) From: Eli Zaretskii To: "Jeremy W. Deats" Cc: djgpp AT delorie DOT com Subject: Re: Question about O2C. In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.