(Moving the conversation to vm-dev)
On 2010/12/05 19:58, Frank Shearar wrote:
> On 2010/12/05 19:15, David T. Lewis wrote:
>> On Sun, Dec 05, 2010 at 06:14:54PM +0000, Frank Shearar wrote:
>>
>>>
>>> And building completed without error! I haven't attempted running an
>>> image; I only have terminal access to a FreeBSD machine.
>>>
>>> I'd mentioned in vm-dev that it would be really useful to have an image
>>> that only evaluated "3 + 4" and wrote that to stdout. (Maybe someone
>>> already has one?) We could use that with a Hudson instance, and verify
>>> our VM builds automatically.
>>>
>>> frank
>>
>> Actually, you do not need a special image for this. Just supply a start
>> script when you start Squeak, and run headless using the -vm-display-null
>> parameter. The script can evaluate 3+4, write output to /dev/tty, then
>> exit.
>> An example start script is attached.
>
> Excellent!
>
> Turns out I'd only run configure, not make, so when I've figured out
> what make's telling me I did wrong (it might be a 64-bit thing judging
> by "warning: cast from pointer to integer of different size"), I'll give
> it a whirl.
It's longAt() that my system's complaining about at least some of the
time, and fails here:
usqInt
youngStartAddress(void) {
return ((usqInt)((&GIV(youngStart)))); // This line
}
Make doesn't tell me anything useful other than "Error code 1". (This is
off an svn checkout from yesterday.) I've attached the output; most of
it just looks like 64-bit pointer-like issues.
frank