[Vm-dev] Cannot generate VM in Windows with CMake and Git

Mariano Martinez Peck marianopeck at gmail.com
Mon Apr 11 12:26:08 UTC 2011


On Mon, Apr 11, 2011 at 12:21 PM, Igor Stasenko <siguctua at gmail.com> wrote:

>
> On 10 April 2011 23:36, Mariano Martinez Peck <marianopeck at gmail.com>
> wrote:
> >
> > 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
> >
> > $ gcc --version
> > gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
> >
>
> i don't remember. but if you installed from same locaitons as me, it
> should have same version.
>

No. Because I have already installed MSYS from before (1 or 2 years ago, for
compiling OpenDBX). The only new stuff that I installed was Git and CMake.


> i will check.. i working on making configs for stuff which already working.
> Then i will start configuring windows slaves and will check everything.
>

Ok. Let me know if I can help in something.

Cheers

Mariano


>
> > Cheers
> >
> > Mariano
> >
> > On Fri, Apr 8, 2011 at 1:11 PM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
> >>
> >>
> >> On Fri, Apr 8, 2011 at 1:06 PM, Igor Stasenko <siguctua at gmail.com>
> wrote:
> >>>
> >>> On 8 April 2011 13:01, Mariano Martinez Peck <marianopeck at gmail.com>
> wrote:
> >>> >
> >>> >
> >>> > On Thu, Apr 7, 2011 at 11:06 PM, Igor Stasenko <siguctua at gmail.com>
> wrote:
> >>> >>
> >>> >> On 7 April 2011 23:04, Mariano Martinez Peck <marianopeck at gmail.com
> >
> >>> >> wrote:
> >>> >> >
> >>> >> > Hi.  I get this error while trying to compile:
> >>> >> >
> >>> >> > cc1.exe: error: invalid option `no-fused-madd'
> >>> >>
> >>> >> > Any idea?
> >>> >> >
> >>> >> yes. find and kill that option.
> >>> >> But it is strange. I building without problems... except that maybe
> >>> >> someone changed the default compiler flags?
> >>> >
> >>> > I check by building with your latest CMMakeVMaker with our name and
> still
> >>> > the same problem.
> >>> > To remove such flag, I removed from CPlatformConfig >>
> >>> > configureFloatMathPlugin:
> >>> > It seems to at least not bark anymore about that.  So..to fix this I
> guess
> >>> > we should overwrite this method in the windows conf.
> >>> > What I am not sure is the implicance of removing such flag. Google
> tells me
> >>> > this:
> >>> >
> >>> > `no-fused-madd'
> >>> > Enable/disable the generation of the fused multiply/add instructions.
> >>> >
> >>> > Anyway...after that, I couldn't compile yet...I now have this error:
> >>> >
> >>> > [ 98%] Building C object
> >>> >
> CMakeFiles/CogVM.dir/C_/mariano/squeak/vm/cogVM/blessed/platforms/win32/vm/sqWin32Utils.c.obj
> >>> > Linking C executable
> /C/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe
> >>> > Can't open .lib file:
> >>> > /C/mariano/squeak/vm/cogVM/blessed/results/libCogVM.dll.a
> >>> > collect2: ld returned 1 exit status
> >>> > make[2]: *** [C:/mariano/squeak/vm/cogVM/blessed/results/CogVM.exe]
> Error 1
> >>> > make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
> >>> > make: *** [all] Error 2
> >>> >
> >>> > /results is empty. There is nothing there. I check the permissons of
> >>> > /results but they seem correct:
> >>> >
> >>> > JuanjoE at JUANJOE-NB /c/mariano/squeak/vm/cogVM/blessed
> >>> > $ ls -la
> >>> > total 13
> >>> > drwxr-xr-x   14 JuanjoE  Administ        0 Apr  8 07:54 .
> >>> > drwxr-xr-x    3 JuanjoE  Administ        0 Apr  7 16:39 ..
> >>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 .git
> >>> > -rw-r--r--    1 JuanjoE  Administ     6732 Apr  7 16:41 .gitignore
> >>> > -rw-r--r--    1 JuanjoE  Administ       42 Apr  7 16:41 CHANGES
> >>> > -rw-r--r--    1 JuanjoE  Administ     1132 Apr  7 16:41 LICENSE
> >>> > -rw-r--r--    1 JuanjoE  Administ    13848 Apr  7 16:41 README
> >>> > -rw-r--r--    1 JuanjoE  Administ       18 Apr  7 16:41 VERSION
> >>> > drwxr-xr-x   39 JuanjoE  Administ        0 Apr  8 07:56 build
> >>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41
> codegen-scripts
> >>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 cygwinbuild
> >>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 17:54 image
> >>> > drwxr-xr-x   13 JuanjoE  Administ        0 Apr  7 16:41 macbuild
> >>> > drwxr-xr-x    7 JuanjoE  Administ        0 Apr  7 16:41 platforms
> >>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 processors
> >>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  8 07:56 results
> >>> > drwxr-xr-x    2 JuanjoE  Administ        0 Apr  7 16:41 scripts
> >>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  8 07:38 src
> >>> > drwxr-xr-x    4 JuanjoE  Administ        0 Apr  7 16:41 unixbuild
> >>> >
> >>> >
> >>> > Any idea?
> >>> >
> >>>
> >>> yes, most probably the output path for some of the libs are hardcoded
> >>> and point to wrong location (i.e. still to build/results,
> >>> instead of /results)
> >>>
> >>
> >> 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
> >>
> >> Cheers
> >>
> >> --
> >> Mariano
> >> http://marianopeck.wordpress.com
> >>
> >
> >
> >
> > --
> > Mariano
> > http://marianopeck.wordpress.com
> >
> >
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110411/70454289/attachment.htm


More information about the Vm-dev mailing list