Mail Archives: djgpp/1998/08/06/18:23:48
Nils Emil P. Larsen wrote:
> Is it possible to compile Turbo C 2.0 / MS C 5.1 source with DJGPP?
> I can send the source to anyone interested to help me.
> Please answer to my e-mail address too, I am not on the list anymore...
> Nils Emil P. Larsen
If the program is completely ANSI complient, it should work. I've
converted alot of code from Borland C++ v3.1 to DJGPP. There are only a
few things that usually need changing. Most C/C++ programs written in a
16-bit environment assume that 'int' or 'unsigned' or 'signed' will be
16-bit. So if you change all of the 'int's to 'short' and the other
varients it should work with the execption of anything that uses assembler,
interrupts, interrupt remapping, or EMS/XMS. The assembler code can be
converted, so can the interrupt stuff, and EMS/XMS stuff is handled
automatically (sortof).
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -