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

Mariano Martinez Peck marianopeck at gmail.com
Fri Apr 8 11:11:27 UTC 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110408/8b869023/attachment.htm


More information about the Vm-dev mailing list