Igor...regarding the problem of the "cc1.exe: error: invalid option `no-fused-madd'"...which GCC do you have in MinGW in windows? I have<br><br>$ <span class="il">gcc</span> --version<br>
<span class="il">gcc</span>.exe (<span class="il">GCC</span>) 3.4.5 (mingw-vista special r3)<br><br>Cheers<br><br>Mariano<br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 1:11 PM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div>On 8 April 2011 13:01, Mariano Martinez Peck <<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>> wrote:<br>
><br>
><br>
> On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>> wrote:<br>
>><br>
>> On 7 April 2011 23:04, Mariano Martinez Peck <<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>><br>
>> wrote:<br>
>> ><br>
>> > Hi. I get this error while trying to compile:<br>
>> ><br>
>> > cc1.exe: error: invalid option `no-fused-madd'<br>
>><br>
>> > Any idea?<br>
>> ><br>
>> yes. find and kill that option.<br>
>> But it is strange. I building without problems... except that maybe<br>
>> someone changed the default compiler flags?<br>
><br>
> I check by building with your latest CMMakeVMaker with our name and still<br>
> the same problem.<br>
> To remove such flag, I removed from CPlatformConfig >><br>
> configureFloatMathPlugin:<br>
> It seems to at least not bark anymore about that. So..to fix this I guess<br>
> we should overwrite this method in the windows conf.<br>
> What I am not sure is the implicance of removing such flag. Google tells me<br>
> this:<br>
><br>
> `no-fused-madd'<br>
> Enable/disable the generation of the fused multiply/add instructions.<br>
><br>
> Anyway...after that, I couldn't compile yet...I now have this error:<br>
><br>
> [ 98%] Building C object<br>
> CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj<br>
> Linking C executable /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe<br>
> Can't open .lib file:<br>
> /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe] Error 1<br>
> make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> /results is empty. There is nothing there. I check the permissons of<br>
> /results but they seem correct:<br>
><br>
> JuanjoE@JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed<br>
> $ ls -la<br>
> total 13<br>
> drwxr-xr-x 14 JuanjoE Administ 0 Apr 8 07:54 .<br>
> drwxr-xr-x 3 JuanjoE Administ 0 Apr 7 16:39 ..<br>
> drwxr-xr-x 7 JuanjoE Administ 0 Apr 7 16:41 .git<br>
> -rw-r--r-- 1 JuanjoE Administ 6732 Apr 7 16:41 .gitignore<br>
> -rw-r--r-- 1 JuanjoE Administ 42 Apr 7 16:41 CHANGES<br>
> -rw-r--r-- 1 JuanjoE Administ 1132 Apr 7 16:41 LICENSE<br>
> -rw-r--r-- 1 JuanjoE Administ 13848 Apr 7 16:41 README<br>
> -rw-r--r-- 1 JuanjoE Administ 18 Apr 7 16:41 VERSION<br>
> drwxr-xr-x 39 JuanjoE Administ 0 Apr 8 07:56 build<br>
> drwxr-xr-x 2 JuanjoE Administ 0 Apr 7 16:41 codegen-scripts<br>
> drwxr-xr-x 2 JuanjoE Administ 0 Apr 7 16:41 cygwinbuild<br>
> drwxr-xr-x 4 JuanjoE Administ 0 Apr 7 17:54 image<br>
> drwxr-xr-x 13 JuanjoE Administ 0 Apr 7 16:41 macbuild<br>
> drwxr-xr-x 7 JuanjoE Administ 0 Apr 7 16:41 platforms<br>
> drwxr-xr-x 4 JuanjoE Administ 0 Apr 7 16:41 processors<br>
> drwxr-xr-x 2 JuanjoE Administ 0 Apr 8 07:56 results<br>
> drwxr-xr-x 2 JuanjoE Administ 0 Apr 7 16:41 scripts<br>
> drwxr-xr-x 4 JuanjoE Administ 0 Apr 8 07:38 src<br>
> drwxr-xr-x 4 JuanjoE Administ 0 Apr 7 16:41 unixbuild<br>
><br>
><br>
> Any idea?<br>
><br>
<br>
</div></div>yes, most probably the output path for some of the libs are hardcoded<br>
and point to wrong location (i.e. still to build/results,<br>
instead of /results)<br>
<div><br></div></blockquote></div></div><div><br>Ok. Just for the record. build/results doesn't even exist in my case. And I am using your version of CMMakeVersion and it was working for you (remember my changes of /result was only for mac since Windows it was already there<br>
<br>Cheers<br></div></div><font color="#888888"><br>-- <br></font><div><div></div><div class="h5">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</div></div></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>