Message-ID: <382185F2.534DD540@interpath.com> Date: Thu, 04 Nov 1999 08:11:14 -0500 From: Joe Heafner X-Mailer: Mozilla 4.04 [en] (OS/2; U) MIME-Version: 1.0 To: Eli Zaretskii CC: Gecko23 , djgpp AT delorie DOT com Subject: Re: can't find DJGPP header files in MingW32 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/