Mail Archives: djgpp/1999/11/04/10:41:40
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 -