On Feb 3, 9:43 pm, Kernigh <xkern... RemoveThis @netscape.net> wrote:
> Bobby wrote:
> > I (compiled nethack) on
>
> > Fedora 8 (linux)
> > FreeBSD 6.3
> > Solaris 10
>
> When you did FreeBSD, I wonder whether you did #define SYSV or #define
> BSD in the unixconf.h file. Either choice probably works with FreeBSD
> and OpenBSD.
>
> But my current theory is that above DragonFly, Mac OS X or NetBSD (all
> modern *BSD systems), #define SYSV will compile NetHack and #define
> BSD will cause compiler errors.
>
> My macppc machine has a partitioned hard disk with three installed
> operating systems. I normally run OpenBSD, but can reboot into Mac OS
> X or NetBSD. Perhaps I should have my own fun now, and try compiling
> NetHack for Mac OS X and NetBSD.
>
> --Kernigh
Sorry to be so slow to respond. I copied all my unixconf.h files over
and diff'd them against the delivered file. Here are the differences
between the one I used to compile each of my four environments and the
file as delivered:
(delivered unixconf.h is to the left <)
Cygwin:
41c41
< /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive
defines */
---
> #define CYGWIN32 /* Unix on Win32 -- use with case sensitive defines */
Fedora 8(Linux):
40c40
< /* #define LINUX */ /* Another Unix clone */
---
> #define LINUX /* Another Unix clone */
FreeBSD 6.3:
50c50
< #define TERMINFO /* uses terminfo rather than termcap */
---
> /* #define TERMINFO */ /* uses terminfo rather than termcap */
Solaris 10:
No differences.
- Bobby
>> Stay informed about: Fun(?) compiling nethack under vmware server