On Sat, Jan 19, 2013 at 10:40 AM, Ciprian Teodorov
<ciprian.teodorov@gmail.com> wrote:
Hi Mariano,
on MacOS 10.6.8 doing��./CogVM-release-noflash-noArgs.app/Contents/MacOS/CogVM Pier3.image does not work, I get�Illegal instruction...
the same with�./CogVM-release-noflash-noArgs.app/Contents/MacOS/CogVM --headless Pier3.image
if i try using�open CogVM-release-noflash-noArgs.app Pier3.image, it works but It's not headless, however when looking in the info.plist the key you have mentioned is there
<key>LSBackgroundOnly</key> <true/>
Well, this one is weird ;) �I think the problem is (as Mark pointed out) the "open". When you do:
open CogVM-release-noflash-noArgs.app Pier3.image
I will (I think) do two things:
- open the�CogVM-release-noflash-noArgs.app (which will popup the window to choose an image)
- open the Pier3.image with the default app associated (that would be the same as double clicking the .image from the finder)
So, I think that what you need is to add the "-a":
open -a CogVM-release-noflash-noArgs.app Pier3.image
In this case, you should at least get the same behavior as:
�./CogVM-release-noflash-noArgs.app/Contents/MacOS/CogVM Pier3.image�
that is, a ilegal instruction. Is it like this?
Now...why the ilegal instruction?? I don't know. I will check. I could be maybe what I said that I compiled with LLVM GCC.�
We should compile this VM with GNU GCC...but so far I couldn't in 10.8.2 :(�