www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/02:06:08

Date: Thu, 8 Aug 1996 09:01:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tim Olmstead <timolmst AT cyberramp DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: DJGPP HELP!!!!!
In-Reply-To: <4to0sb$jm8@newshost.cyberramp.net>
Message-Id: <Pine.SUN.3.91.960808085610.19168D-100000@is>
Mime-Version: 1.0

On Wed, 31 Jul 1996, Tim Olmstead wrote:

> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019