Nikodemus Siivola schrieb:
On Mon, 25 Oct 2004, Reini Urban wrote:
Sam should know which function is better to get the at the build_os string. (machine-version) is almost the same. (just "PC/686" for win32) (machine-instance) doesn't help since both are the same.
What about (software-type) and (software-version)?
not much better. you may now guess which is which. hint: prompt.
$ clisp-base -norc -x "(software-version)" "GNU C 3.3.3 (cygwin special)" $ clisp-base -norc -x "(software-type)" "gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -x none -lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -L/usr/local/lib -lsigsegv -L/usr/X11R6/lib -lX11 SAFETY=0 HEAPCODES STANDARD_HEAPCODES SPVW_PAGES SPVW_MIXED"
clisp -q -norc -x "(software-version)"
"GNU C 3.3.1 (cygming special)"
clisp -q -norc -x "(software-type)"
"ANSI C program"
just removing the "/" from the (machine-type) is needed. for clisp windows afaik.