<div dir="ltr">I'm trying to learn how to run a Smalltalk program in headless mode in macOS. I documented all the steps I took. When I run the program, it just hangs and I get no output. Does anyone see something suspicious in these steps?<div><br></div><div>To build a Squeak VM for macOS:<br><br>1. Open a Terminal and cd to the directory where the VM will be created.<br>2. Enter `git clone <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git`">https://github.com/OpenSmalltalk/opensmalltalk-vm.git`</a><br>3. Enter `cd opensmalltalk-vm`<br>4. Enter `./scripts/updateSCCSVersions`<br>5. Enter `cd building`<br>6. `cd` to the appropriate subdirectory for the target OS and processor.<br>   For example, `macos64ARMv8`.<br>7. See the instructions in the file "HowToBuild".<br>8. Enter `cd squeak.coq.spur`<br>9. Enter `./mvm -A`. This will run for around 10 minutes and<br>   generate an extreme amount of output.<br>10. Enter `chmod a+x Squeak.app`<br>11. Create a symbolic link to the virtual machine that is inside this app<br>   by entering `ln -s "./Squeak.app/Contents/MacOS/Squeak" squeak-vm`.<br><br>To run a command-line app:<br><br>1. Obtain or create a Smalltalk image file.<br>  For example, Cuis Smalltalk provides the base image file<br>  `Cuis-Smalltalk-Dev/CuisImage/Cuis7.1-6452.image`.<br><br>2. Create a `.st` file containing Smalltalk code.<br>  For example, the file `<a href="http://demo.st">demo.st</a>` could contain the following:<br><br>  ```smalltalk<br>  | stdout |<br>  stdout := StdIOWriteStream.<br>  stdout nextPutAll: 'Hello, World!'<br>  Smalltalk os snapshot: false andQuit: true.<br>  ```<br><br>3. Run the Smalltalk VM in headless mode,<br>  giving it an image and a file of Smalltalk code. For example,<br>  `./squeak-vm -headless Cuis-Smalltalk-Dev/CuisImage/Cuis7.1-6452.image <a href="http://demo.st">demo.st</a>`<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8000001907349px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div></div>