<div dir="ltr">Hi Marino,<div><br></div><div style>The sources are in Github:</div><div style><br></div><div style><a href="https://github.com/concurrency/kroc">https://github.com/concurrency/kroc</a><br></div><div style><br>
</div><div style><div>When I did a native build (not a cross build), I configured as follows:</div><div><br></div><div style>CFLAGS=-fPIC ./configure --with-toolchain=tvm --prefix=&lt;choose target location&gt;</div></div>
<div style><br></div><div style>The build instructions for crossbuild I&#39;m following are here:</div><div style><br></div><div style><a href="http://projects.cs.kent.ac.uk/projects/kroc/trac/wiki/CrossBuilding">http://projects.cs.kent.ac.uk/projects/kroc/trac/wiki/CrossBuilding</a><br>
</div><div style><br></div><div style>and that is failing somewhere that I don&#39;t think it should. But, I&#39;m going to go back and check to see if I have any success on 32-bit before I dig deeper. I don&#39;t want to chase a bug on 64-bit if it exists on 32-bit as well. </div>
<div style><br></div><div style>Cheers,</div><div style>M</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 11:31 AM, Marino Punturieri <span dir="ltr">&lt;<a href="mailto:mapunt@gmail.com" target="_blank">mapunt@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Matt,<br><br></div>II would like to give a try on 64-bit platforms.<br></div>Could you please tell me where I can find latest source code and from what you think I can start?<br>
<br></div>

Thanks,<br></div>Marino</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, May 21, 2013 at 5:26 PM, Matt Jadud <span dir="ltr">&lt;<a href="mailto:matt@jadud.com" target="_blank">matt@jadud.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div><br></div><div>As far as I&#39;m concerned, our project doesn&#39;t work.</div>
<div><br></div>

<div>1. I don&#39;t think a TVM build on a 64-bit machine works. Even with -fPIC, the tvm segfaults out on most tests. I may have done something wrong, though.</div>
<div><br></div><div>2. A cross-build fails, implying to me that something in the chain is broken. I don&#39;t know if that is a compiler oddity, or something simpler and more superficial.</div><div><br></div>
<div><div>/home/jadudm/build/arduino-kroc/obj-avr/tools/kroc/occbuild --in-tree /home/jadudm/build/arduino-kroc/obj-avr --toolchain=tvm --search ../maths --no-std-libs --library forall.lib danalyse.tce ie32op.tce ranalyse.tce ridiv.tce rimul.tce qridiv.tce qrimul.tce qshiftl.tce qshiftr.tce qnorm.tce</div>



<div>Serious-ilibr-danalyse.tce-could not open for reading</div><div><br></div><div>I&#39;ll try and trace it down, but (as usual) I&#39;m trying to get things working so I can do work, now, with students. (Invariably, I&#39;m never doing this in a reasonable way, months in advance, because I don&#39;t think life works that way.) </div>



<div><br></div><div>My solution is going to be to set up a 32-bit VM, and hope that I can do a clean build there. I&#39;m simply reporting that I am pursuing what I hope will be a faster path to a working system.</div>
<div><br></div><div>If anyone gets bored, and wants to try and help me get a working build on 64-bit platforms, that would be great. A &quot;working build&quot; means &quot;we can run kroc, the TVM, and do an Arduino cross-build.&quot;</div>



<div><br></div><div>Cheers,</div><div>Matt</div></div></div>
<br></div></div>_______________________________________________<br>
developers mailing list<br>
developers@concurrency.cc<br>
<a href="http://lists.concurrency.cc/mailman/listinfo/developers" target="_blank">http://lists.concurrency.cc/mailman/listinfo/developers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>