mmm... i couldn't get it.
os: Mac OS X 10.6.8 (10K549)
generator image: (CMakeVMMaker-EstebanLorenzano.192)
1. prepare git, wget and gnu-tar.
2. modify 2 methods of CogFamilyCocoaIOSConfig.
#commonCompilerFlags
^super commonCompilerFlags,
{
'-isysroot ' , self snowLeopardMacOSX10dot6dotSdk.
...
#setGlobalOptionsAfterDetermineSystem:
maker set: 'CMAKE_OSX_DEPLOYMENT_TARGET' to: '10.5'.
maker
set: 'CMAKE_OSX_SYSROOT'
to: self snowLeopardMacOSX10dot6dotSdk
snowLeopardMacOSX10dot6dotSdk
^ '/Developer/SDKs/MacOSX10.6.sdk' "original sdk path"
"^ '/Developer/SDKs/MacOSX10.6.sdk.forPharo'" "MacOSX10.6.sdk.zip path"
3. do it:
PharoVMBuilder build
4. built new Pharo.app (7,930,953 bytes) in blessed/results
5. but this vm crashes (Bus error) after loading image.
not only PharoVM, but also CogVM (CogCocoaIOSConfig) crashes,
am i missing something?
* head of crash report
Process: Pharo [52617]
Path: /Users/nishis/blessed/results/Pharo.app/Contents/MacOS/Pharo
Identifier: org.pharo-project.Pharo
Version: Pharo VM 6.0-pre (21.0)
Code Type: X86 (Native)
Parent Process: launchd [223]
Date/Time: 2013-03-08 04:05:58.869 +0900
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 465237 sec
Crashes Since Last Report: 84
Per-App Interval Since Last Report: 114206 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 64A552BA-9A4E-461C-91A4-9A0BA4CD7527
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000259
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 org.pharo-project.Pharo 0x0008002b interpret + 75
1 org.pharo-project.Pharo 0x00089565
enterSmalltalkExecutiveImplementation + 117
2 org.pharo-project.Pharo 0x00096766
-[sqSqueakMainApplication runSqueak] + 422
3 ??? 0x0081de00 0 + 8510976
4 ??? 0xa009168c 0 + 2684950156
5 ??? 0xa00923ac 0 + 2684953516
6 ??? 0xa009168c 0 + 2684950156
7 ??? 0xa009168c 0 + 2684950156
8 ??? 0xa009168c 0 + 2684950156
...
2013/3/8 Camillo Bruni <[email protected]>:
> I think that should work. Though we build no under 10.8 on
> http://ci.inria.fr/pharo
>
> On 2013-03-07, at 17:55, NISHIHARA Satoshi <[email protected]> wrote:
>> can it build Pharo vm on os x 10.6.8 mac?
>>
>> https://gitorious.org/cogvm/blessed/blobs/master/HOWTOBUILD
>>
>> --
>> --
>> "NISHIHARA Satoshi"
>> [:goonsh :nsh | ^ nishis perform: goonsh with: nsh]
>>
>
>
--
--
"NISHIHARA Satoshi"
[:goonsh :nsh | ^ nishis perform: goonsh with: nsh]