How can I tell what I'm running on?

Blake McBride <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CABwHSOuT3nFBTQuo=VnVberNOvfb1DBCagSrnGZONj7tCiEX1w@mail.gmail.com>
I wrote my own build system in Java and use it every day.  I'd like to port
it to SBCL and make it more generic.  While SBCL is a complete Common Lisp
and has some system interface, it seems to be somewhat weak in that area.
First thing I hit was having to determine what system it was running on in
code.  Was it Linux, Mac, Windows, SunOS, etc.?  I didn't see a very
portable way of finding that out.  While I'm sure I could find a way with
what is there, I didn't want to get more hacky than I had to.  Any
suggestions?

On another note, I hit this problem just a few lines into my code.  I
wonder if it makes sense for me to take a look at extending sb-ext.  Does
that make sense?

Thanks!

Blake McBride

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.