Re: How can I tell what I'm running on?

Blake McBride <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CABwHSOsC8JYOMwZU0PDFpYF5fwSVLkfCt2MsbY8NYsObP9=6kQ@mail.gmail.com>
Thanks!!

On Tue, Sep 24, 2024 at 10:20 PM Vasily Postnicov <[email protected]>
wrote:

> Check *FEATURES*. For example, I have :X86-64, :OS-UNIX, :BSD, :FREEBSD in
> that list. Also MACHINE-TYPE returns your architecture as a string.
> Finally, MACHINE-INSTANCE can return the hostname.
>
> ср, 25 сент. 2024 г. в 00:47, Blake McBride <[email protected]>:
>
>> 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
>>
>

_______________________________________________
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.