<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 1:49 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@angband.za.org">frank.shearar@angband.za.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 <br>(Moving the conversation to vm-dev)<br>
<br>
On 2010/12/05 19:58, Frank Shearar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2010/12/05 19:15, David T. Lewis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, Dec 05, 2010 at 06:14:54PM +0000, Frank Shearar wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And building completed without error! I haven&#39;t attempted running an<br>
image; I only have terminal access to a FreeBSD machine.<br>
<br>
I&#39;d mentioned in vm-dev that it would be really useful to have an image<br>
that only evaluated &quot;3 + 4&quot; and wrote that to stdout. (Maybe someone<br>
already has one?) We could use that with a Hudson instance, and verify<br>
our VM builds automatically.<br>
<br>
frank<br>
</blockquote>
<br>
Actually, you do not need a special image for this. Just supply a start<br>
script when you start Squeak, and run headless using the -vm-display-null<br>
parameter. The script can evaluate 3+4, write output to /dev/tty, then<br>
exit.<br>
An example start script is attached.<br>
</blockquote>
<br>
Excellent!<br>
<br>
Turns out I&#39;d only run configure, not make, so when I&#39;ve figured out<br>
what make&#39;s telling me I did wrong (it might be a 64-bit thing judging<br>
by &quot;warning: cast from pointer to integer of different size&quot;), I&#39;ll give<br>
it a whirl.<br>
</blockquote>
<br>
It&#39;s longAt() that my system&#39;s complaining about at least some of the time, and fails here:<br></blockquote><div><br></div><div>If so, make sure you have configured to build 32-bit; gcc requires an -m32 flag to force 32-bit.  You&#39;ll need to make sure the whole chain through the linker uses -m32.</div>
<div><br></div><div>HTH</div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
usqInt<br>
youngStartAddress(void) {<br>
        return ((usqInt)((&amp;GIV(youngStart)))); // This line<br>
}<br>
<br>
Make doesn&#39;t tell me anything useful other than &quot;Error code 1&quot;. (This is off an svn checkout from yesterday.) I&#39;ve attached the output; most of it just looks like 64-bit pointer-like issues.<br>
<br>
frank<br>
<br></blockquote></div><br>