Success! Re: My Annual VM-building post (MacOS)
Josh Gargus
schwa at fastmail.us
Thu Nov 10 17:43:25 UTC 2005
Huzzah for perseverence!
The auto-updated XCode project wasn't quite right; I had to make the
following tweaks:
- switch to use gcc-4.0
- add -fPIC to cflags (apparently necessary with -fast)
- turn off zerolink
The updated project file is 171KB, so I won't spam the whole list
with it. John McIntosh, it's coming your way.
Thanks,
Josh
On Nov 10, 2005, at 9:32 AM, Josh Gargus wrote:
> Hi there,
>
> Like usual, I can't figure out how to build a VM. Here's what I
> tried:
>
> Squeak3.9a-6676 + subversion trunk updated this morning
> ==============================================
> Installed VMMaker (3.8b4)
> Installed Balloon3D
> Installed Gnuifier.5.cs
> Installed ArraysToGlobalStruct-JMM.1.cs
> Attempted to Generate VM
> - all available plugins internal, except did not build (as suggested)
> - FFIPlugin
> - FileCopyPlugin
> - IntegerPokerPlugin (wasn't there anyway)
> - Mpeg3Plugin
> - TestOSAPlugin
> - PrintJobPlugin (wasn't there anyway)
>
> VMMaker 'generate all' did not complete successfully. The error is
> that 'String class>>ccgDeclareCForVar:' is not understood.
>
> Fair enough: image and platform source chosen randomly from middle
> of development cycle, and vmmaker not updated for 3.9. All I care
> about is successfully building a VM, so I try something safer:
>
> Squeak3.8-6665 + subversion VMM38b4 branch + XCode 2.1 + MacOS 10.4
> ===========================================================
> Installed same packages in same order as above.
> "Successfully" Generated VM
> - all plugins internal, same exclusions as above
> Gnuified the resulting source
> Copied/unpacked from platforms/Mac OS/vm/Developer into same
> directory with platforms & src
> - resources.sit
> - SqueakVMForCarbon.pbproj.sit
> - 3 Info-* files
> Double-clicked on XCode project
> - PROBLEM? I had to update the project because it was in an older
> format than used for XCode 2.1
> - opening this project, no files were red (except missing build
> products) so I went ahead and tried to build
> - 127 errors due to invalid option 'fix-and-continue' (assume
> this is due to the project format update)
> - closed XCode
> - opened 'SqueakVMForCarbon.xcodeproj/project.pbxproj' in text
> editor
> - took out all lines with GCC_ENABLE_FIX_AND_CONTINUE
> - opened project again, cleaned all targets, tried to build
> - 123 errors: 'Command /usr/bin/gcc-3.3 failed with exit code 1'
> - following file is a file, not a directory:
> 'build/SqueakVMForCarbon.build/Development/Squeak VM OPT
> (Upgraded).build/Squeak VM Opt.hmap'
> - said file is full of binary gobbledegook
>
>
> This is where I'm stuck now. Can anyone lend me a clue?
>
> Thanks,
> Josh
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051110/654b53b9/attachment.htm
More information about the Squeak-dev
mailing list
|