My initial implementation was in error. �I've now changed it back to
� � 0 => executable name
� � -1 .. -n => VM arguments *including* image (if explicitly supplied).

Apologies.

On Wed, Nov 30, 2011 at 12:03 AM, St�phane Ducasse <stephane.ducasse@inria.fr> wrote:

we will have to check if this impacts some of our parameter handling.

Stef

Begin forwarded message:

VM.r2518/.

CogVM binaries as per VMMaker.oscog-eem.139/r2518.

Add access to VM arguments to Mac. �Make Windows, Mac and Unix consistent:
� � � � Smalltalk getSystemAttribute:
� � � � � � � � -1 => executable name
� � � � � � � � -2 .. -n => VM arguments *including* image (if explicitly supplied).
Replace win32 command line parsing with unixesque code using CommandLineToArgvW.

linux launch script:
Cope with old linuxes use of /lib/tls hack for an optional thread-local-storage
version of libc/libpthread. The launch scripts add /lib/tls:/usr/lib/tls: to
LD_LIBRARY_PATH instead of /lib:/usr/lib: if the VM is linked to /lib/tls/libc.
--
best,
Eliot








--
best,
Eliot