Hi Dave:
I completely forgot about the source bundle. Thanks a lot! That worked as usual.
On 22 Aug 2012, at 23:25, David T. Lewis wrote:
There is a Darwin/MacOSX version of the standard unix VM here:
I don't know if this would serve your purposes, but it is more up to date than the Mac and Windows VMs, and would certainly support all of the 32 bit image formats as well as providing the usual unix command line options.
Thanks, I forgot about those. Would be great if they could be linked as alternatives on the mac page as well. Especially, the source code download is very helpful.
Unfortunately, the binary versions do not work for me. They do not find libfreetype.6.dylib, and first I ignored that, and tried to figure out why it reports that the image is not there I gave it. But well, turns out, the reported reason is wrong, and the GDB stack trace indicates a load error of the library (see at the end).
The magic to make it compile for me requires the use of the old (non-llvm) GCC 4.2. The LLVM GCC does never complete when compiling the gnu-ified interpreter c file.
For reference, this yields a nice VM for X11 and headless use:
mkdir bld cd bld CC=gcc-4.2 CXX=g++-4.2 ../unix/cmake/configure --without-gl \ --without-SUGAR --without-FT2Plugin --without-VideoForLinuxPlugin \ --without-DBusPlugin --without-Mpeg3Plugin --without-RomePlugin \ --without-vm-display-Quartz make -j 8 sudo make install
Thanks Stefan
Starting program: /Users/smarr/Projects/OmniThesis/Squeak4.4.7/lib/squeak/4.4.7-2357/squeakvm -nodisplay -nosound -headless /Users/smarr/Projects/OmniThesis/omni-image/benchmarks/pharo-omni.image ReBenchHarness BenchmarkGameSuite.benchChameleons 1 1 70000 dyld: Library not loaded: /Users/Z/Desktop/FreeType//lib/libfreetype.6.dylib Referenced from: /Users/smarr/Projects/OmniThesis/Squeak4.4.7/lib/squeak/4.4.7-2357/squeakvm Reason: image not found
Program received signal SIGTRAP, Trace/breakpoint trap. 0x8fe01065 in __dyld_dyld_fatal_error () (gdb) bt #0 0x8fe01065 in __dyld_dyld_fatal_error () #1 0x8fe04fa5 in __dyld__ZN4dyld4haltEPKc () #2 0x8fe0796b in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ () #3 0x8fe018b1 in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl () #4 0x8fe01057 in __dyld__dyld_start ()