(2) Building a server
- Prerequisites: IEEE Std 1003.1-2001 (POSIX.1-2001), GNU make, a
- curses library, Perl, and either nroff or GNU troff (`groff').
+ Prerequisites: IEEE Std 1003.1-2001 (POSIX.1-2001) with the X/Open
+ System Interfaces Extension, GNU make, Perl, and either nroff or
+ GNU troff (`groff').
See file `INSTALL' for detailed compilation and installation
instructions. Quick guide for the impatient: run configure; make;
GNU make. Some systems have it installed as `gmake'.
Solaris supports POSIX.1-2001, but you need to set up your
- environment for that. Try passing
- SHELL=/usr/xpg4/bin/sh PATH=/usr/xpg6/bin:/usr/xpg4/bin:$PATH
- to make. See standards(5) for details.
+ environment for that. Try
+
+ SHELL=/usr/xpg4/bin/sh
+ PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:$PATH
+
+ See standards(5) for details.
+
+ Likewise, AIX needs XPG_SUS_ENV=ON.
(3) Creating a game
# Process this file with autoconf to produce a configure script.
# Autoconf makes checking for and programming around assorted ancient
-# crap relatively painless. But why bother? Just rely on C89 and
-# POSIX, and when something breaks on some oddball machine, see
-# whether it's worth fixing.
+# crap relatively painless. But why bother? Just rely on POSIX, and
+# when something breaks on some oddball machine, see whether it's
+# worth fixing.
AC_PREREQ(2.69)
AC_INIT([Wolfpack Empire],
// C++/C99 comments
-because they are not portable C89.
-
Conditional compilation
Unless the conditional code is very short, please comment it like
Portability
-----------
-FIXME C89, POSIX
+FIXME C99, POSIX
FIXME sizes, printf formats