On Sat, Jan 19, 2013 at 12:08 PM, Mariano Martinez Peck < [email protected]> wrote:
> > > On Sat, Jan 19, 2013 at 10:40 AM, Ciprian Teodorov < > [email protected]> 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 > :( > > Well, I have compiled a normal VM (without my headless changes) with LLVM GCC. Now, can you try this VM (CogVM-standard) please? If we get Ilegal Instruction, then it is the compiler. If we don't, and it works, then it is something related with my changes. https://www.dropbox.com/s/kpqnfycjpe76fo1/CogVM-standard.zip Thanks, > Thanks for the testing to everybody!!! > > >> >> On Sat, Jan 19, 2013 at 2:26 PM, Mariano Martinez Peck < >> [email protected]> wrote: >> >>> >>> >>> On Sat, Jan 19, 2013 at 7:24 AM, Stephan Eggermont <[email protected]>wrote: >>> >>>> This doesn't work >>>> >>>> >>>> open CogVM-release-noflash-noArgs.app Pier3.image & >>>> >>>> >>> Which OSX version are you using? >>> >>> >>> >>>> >>>> Jan 19 11:20:51 Stephan-Eggermonts-iMac >>>> [0x0-0x2f92f9].org.seaside-project[36832]: This interpreter (vers. 6502) >>>> cannot read image file (vers. 6505). >>>> Jan 19 11:20:51 Stephan-Eggermonts-iMac >>>> [0x0-0x2f92f9].org.seaside-project[36832]: Press CR to quit... >>>> Jan 19 11:20:52 Stephan-Eggermonts-iMac ReportCrash[36836]: Failed to >>>> create CSSymbolicatorRef for launchd >>>> Jan 19 11:20:52 Stephan-Eggermonts-iMac >>>> com.apple.launchd.peruser.501[207] >>>> ([0x0-0x2fa2fa].org.squeakfoundation.Squeak[36835]): Job appears to have >>>> crashed: Segmentation fault >>>> Jan 19 11:20:52 Stephan-Eggermonts-iMac ReportCrash[36836]: Saved crash >>>> report for launchd[36835] version ??? (???) to >>>> /Users/stephan/Library/Logs/DiagnosticReports/launchd_2013-01-19-112052_Stephan-Eggermonts-iMac.crash >>>> >>> >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com >>> >> >> >> >> -- >> Dr. Ciprian TEODOROV >> Ingénieur Développement CAO >> >> tél : 06 08 54 73 48 >> mail : [email protected] >> www.teodorov.ro >> > > > > -- > Mariano > http://marianopeck.wordpress.com > -- Mariano http://marianopeck.wordpress.com
