Finding out the OS one runs on

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Finding out the OS one runs on

Holger Freyther
Hi all,

I am trying to create some bindings and the structs are a bit different on
different flavors of Operating Systems. Is there something in Smalltalk or
ObjectMemory that helps me finding out where I run on?

thanks
        holger

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Finding out the OS one runs on

MrGwen
There is in SystemDictionary>>hostSystem message:

Smalltalk hostSystem

'x86_64-unknown-linux-gnu'

Gwen

On Sat, Nov 27, 2010 at 10:03 AM, Holger Hans Peter Freyther
<[hidden email]> wrote:

> Hi all,
>
> I am trying to create some bindings and the structs are a bit different on
> different flavors of Operating Systems. Is there something in Smalltalk or
> ObjectMemory that helps me finding out where I run on?
>
> thanks
>        holger
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk