But I don't wanna do non-blocking I/O...
Conor P. Cahill
cpcahil at virtech.uucp
Sun Jun 17 22:30:01 AEST 1990
In article <409 at minya.UUCP> jc at minya.UUCP (John Chambers) writes:
>
>My main problem with this is that it gets a bit clumsy as the list grows.
>Writing code that handles a variety of systems is a problem that doesn't
>seem to have been well-solved as yet. (I expect to get lots of flames
>from the CASE crowd for that remark! ;-)
Actually it has been solved for quite a few systems/programs. Larry Wall's
Configure program does a pretty good job at determining the capabilities
of a given system. A few years ago (before I could spell USENET) I wrote
a similar package used to set all the #defines for an office automation
package that I was porting. This made the porting job 10 times easier
since I no longer had to rumage around the code looking for #ifdef's with
SYSV or BSD.
The central include file that defines all the machine dependencies must
include an expanation for each #define that allows you to review it and
determine that the configuration script made the corrrect decisions.
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.,
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.wizards
mailing list