delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/10:41:40

Message-ID: <382185F2.534DD540@interpath.com>
Date: Thu, 04 Nov 1999 08:11:14 -0500
From: Joe Heafner <heafnerj AT interpath DOT com>
X-Mailer: Mozilla 4.04 [en] (OS/2; U)
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Gecko23 <gk_2345 AT my-deja DOT com>, djgpp AT delorie DOT com
Subject: Re: can't find DJGPP header files in MingW32
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991104091052 DOT 9537O-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Wed, 3 Nov 1999, Gecko23 wrote:
> 
> > > I recently wrote some software that uses sys/param.h and in.h with
> > DJGPP. I
> >
> > Use the ones from DJGPP.
> 
> IMHO, this is bad advice.  One shouldn't use a header from another
> compiler, since the headers are private to the library implementation.
> 
> A better way would be to rewrite the program so that it doesn't use
> non-standard headers.  In particular, sys/param.h should not be used
> by anything but legacy Unix software.  Every symbol it defines has a
> modern and portable replacement.

Where would I find the replacements, or at least documentation on them?
This particular software can currently and MUST be able to compile under
DOS, Solaris, Linux, and OS/2 (Windows is included here as it's just
another DOS program) using EMX, DJGPP 2.8, and Visual C++. The source
code is commercial software that accompanies my forthcoming book. 

			Thanks,

-- 

                        -- Joe Heafner

Joe Heafner, Astronomy and Physics Instructor. Work:(828)327-7000 x4246
my surname with my first initial at interpath dot com
http://home.interpath.com/heafnerj/

- Raw text -


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