[Vm-dev] Building the VM on windows

Levente Uzonyi leves at elte.hu
Sat Jul 24 10:30:11 UTC 2010


On Sat, 24 Jul 2010, Rob Withers wrote:

>
> I am having problems with the DESPlugin in Cog.   I am now trying to test in

How did you build the plugin with Cog?


Levente

> Squeak 4.0.2.  Loaded latest VMMaker, installed Tools, downloaded and 
> unzipped VM source, generated source files from VMMaker, including the 
> security plugins, typed make (see output at the bottom of this email).
>
> Error: gcc: gnu-interp.c: No such file or directory
>
> It is in .\src\vm, not winbuild.
>
> I do have the added complexity of having 2 make programs, one from 
> gnutools/bin and the other from cygwin.  Not sure which is running, but here 
> is the version output:
>
> C:\Squeak 4.1\vm-src\winbuild>make -version
> GNU Make version 3.77, by Richard Stallman and Roland McGrath.
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
>       Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> Report bugs to <bug-make at gnu.org>.
>
> Here's my output from make:
> ---------------- Makefile settings ------------------
> VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm 
> ../platforms/win32/mi
> sc
> INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm 
> -Ic:/dx7
> sdk/include
> CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops 
> -fschedule-ins
> ns2 -O2
> -----------------------------------------------------
> mkdir .\obj\vm
> gawk -f ../platforms/win32/misc/gnuify ./src/vm/interp.c > 
> ./src/vm/gnu-interp.c
>
> copying first section of file
> interpret: adding static register assignments
> interpret: adding bytecode dispatch table
> interpret: rewriting case labels and outer breaks
> gcc -o ./obj/vm/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer 
> -funrol
> l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm 
> -I../platfo
> rms/Cross/vm -Ic:/dx7sdk/include  -DWIN32_FILE_SUPPORT -DNO_SERVICE 
> -DNO_STD_FIL
> E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME="\"MySqueak\"" 
> -DVM_VERSION="\"4.0.2.1\
> "" -DX86 -DSQUEAK_BUILTIN_PLUGIN  -c gnu-interp.c
> gcc: gnu-interp.c: No such file or directory
> gcc: No input files
> make: *** [gnu-interp.o] Error 1 
>


More information about the Vm-dev mailing list