On Wed, Dec 14, 2011 at 1:13 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Hi Eliot. So, do we need to change something from image side?

Hopefully not. �But you might try testing launching from the command line and accessing image arguments and vm arguments. �Hopefully "Smalltalk image arguments" and "Smalltalk vm arguments" answer the right things (and different things).�

To help in your testing I'm attaching the script I use to launch from the command line on Mac OS. �I should include this in the Cog VM distribution but it isn't part of the .app bundle. �I put it in ~/bin and edit it to point at the .app bundle I want. �Note that this script can be linked with different names to launch different VMs (i.e. I cal it all of ocsfvm oscavm oscdvm oscfmtvm et al to launch the production, assert, debug and multi-threaded etc VMs).

HTH
Eliot

On Thu, Dec 1, 2011 at 12:20 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
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




--
Mariano
http://marianopeck.wordpress.com




--
best,
Eliot