Doug Morris wrote:
> I plan to test against 2.7 with the Sun 5.0 compilers Real Soon Now.
> That should do full 64-bit. Solaris 2.6 is mostly 64-bit, but I'm not
> sure which bits.
I've just built nmh-1.0.1-snapshot.19991027 on NetBSD/alpha (which
is int 32, long/pointer 64), and the diffs to make it compile with
egcs 1.1.2 using
-O2 -g -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
as compile options are about 2000 lines or 70kBytes. These are
the standard compile options for the main NetBSD source tree, and
seem to catch out a lot of 64 bit problems. Are you (or anyone)
interested in the diffs?
I'm sending this message from that Alpha, so it appears to work ok :-)
My home system is also a NetBSD/alpha and I've been using nmh 1.0.1
there for a while, but I ignored any warnings that might have been
generated (I can't remember if there were any).
If there was one thing I'd change with nmh internally, I'd get rid
of all the local function prototypes like
int SOprintf (char *, ...); /* from termsbr.c */
and make new header files so that there are only single declarations
of prototypes. If anyone is interested in my doing some work
towards this, let me know...
Simon.