From: Christophe R. <cs...@ca...> - 2003-06-27 11:22:56
|
Lars Brinkhoff <la...@no...> writes: > William Harold Newman <wil...@ai...> writes: >> After offers on #lisp to test it, I decided to change the PPC code as >> well as the X86 code, and now both are in CVS. > > Excellent! You know, something just occurred to me about this; I think the uname(2) system call is defined by POSIX to operate on struct utsname objects that contain a machine field; it had "sun4u" and "i686" on the sparc/SunOS and x86/Linux machines I just tried it on. If we can live with the loss of detail, we could make MACHINE-VERSION use uname() instead, which would enable it to be a general, not machine-specific, function. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) |