Date: Thu, 8 Aug 1996 09:01:32 +0200 (IST) From: Eli Zaretskii To: Tim Olmstead Cc: djgpp AT delorie DOT com Subject: Re: DJGPP HELP!!!!! In-Reply-To: <4to0sb$jm8@newshost.cyberramp.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 31 Jul 1996, Tim Olmstead wrote: > Eli Zaretskii wrote: > > >The compiler supports ANSI C, but the extensions are vendor-specific. > >What the original poster says is that you should only use the standard > >features, and then you don't have to worry which compiler you use to > >compile the program. > > OH BOY! If only that were true. I'm porting a VERRRRY large > application from Unix to MSDOS (about 500,000 lines of C code). I have > five (5) C compilers on my system at the moment, and NO TWO of them That probably means that the program you are trying to port uses some non-ANSI features (like header files and library functions which ANSI doesn't mention). Strict ANSI C code will compile on any ANSI-compliant compiler without any problems (and in my experience, it does). Unfortunately, too few people restrict themselves to ANSI C when they write programs...