Message-ID: <35C9F440.E1C9C8D0@unb.ca> Date: Thu, 06 Aug 1998 15:21:52 -0300 From: Endlisnis MIME-Version: 1.0 To: "Nils Emil P. Larsen" CC: djgpp AT delorie DOT com Subject: Re: Compiling Turbo C 2.0 / MS C 5.1 source with DJGPP? References: <3 DOT 0 DOT 5 DOT 32 DOT 19980802095546 DOT 00799470 AT vip DOT cybercity DOT dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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