On 04/06/13 10:16 PM, William Barnett-Lewis wrote:
So in a fit of insanity, I have a VM running NetBSD
1.6.2 (the
earliest I can get to run for me under Virtual Box) that I'm trying to
What was the objective of trying to find an old NetBSD? It won't give
you pre-ANSI C; 1.6 is not very old.
If you are going to *port* the code to ANSI C as you imply below, any
Un*x O/S will do.
build the old Franz Lisp (from the 4.2BSD days) on.
There was a port
done by Jeff Dalton back in 1994 to i386 NetBSD .9 so there is a
working executable but to get the libraries up to date requires a
build. That is exposing a bunch of early '80's code that isn't working
too well. Stuff like:
lispval
Ndumplisp()
{
register struct exec *workp;
...
(and so on for much longer)
Those structures aren't right& the workp-> pointers all give major
complaints in GCC (dereferencing pointer to incomplete type) and it
bombs out. My C is even rustier than I thought so it's driving me nuts
trying to remember what's wrong.
What I'm hoping is that someone can point me at is a good online
reference or tool to old K&R C that I can hopefully restore my
Find a copy of "K&R" :)
--T
memories of what is going wrong in this and the other
issues I'm sure
will pop up.
Thanks!
William