Excellent :)<br>Now you can continue with your work in Android hehhe<br><br><div class="gmail_quote">On Tue, Jul 5, 2011 at 5:39 AM, Dimitry Golubovsky <span dir="ltr">&lt;<a href="mailto:golubovsky@gmail.com">golubovsky@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;"><br>
Hi,<br>
<br>
Thanks Igor and Mariano. I synced my clone repo with blessed, and was<br>
able to build Cog via cmake (looks like I did not read one paragraph<br>
in Mariano&#39;s guide ;)<br>
<br>
I ran into the cc1: error: unrecognized command line option<br>
&quot;-mno-fused-madd&quot; error while compiling the float math plugin.<br>
<br>
I use<br>
<br>
dima@slax:~/src/cogvm/dmg-blessed/build$ gcc --version<br>
gcc (GCC) 4.2.4<br>
Copyright (C) 2007 Free Software Foundation, Inc.<br>
<br>
not very new but did not really have plans to upgrade it. I followed<br>
this discussion:<br>
<br>
<a href="http://forum.world.st/Failed-to-build-FloatMathPlugin-on-FreeBSD-td3346374.html" target="_blank">http://forum.world.st/Failed-to-build-FloatMathPlugin-on-FreeBSD-td3346374.html</a><br>
<br>
commenting out the relevant line in FloatMathPlugin/CMakeLists.txt<br>
<br>
I see where it is coming from (class CPlatformConfig in CMakeVMMaker):<br>
<br>
configureFloatMathPlugin: maker<br>
        &quot;extra rules for FloatMathPlugin&quot;<br>
....<br>
<br>
        &quot;according to <a href="http://www.netlib.org/fdlibm/readme" target="_blank">http://www.netlib.org/fdlibm/readme</a><br>
        it should be compiled with no optimizations&quot;<br>
        maker addDefinitions: &#39;-O0 -mno-fused-madd&#39;.<br>
<br>
<br>
Thanks.<br>
<font color="#888888"><br>
--<br>
Dimitry Golubovsky<br>
<br>
Anywhere on the Web<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>