[Vm-dev] Building the VM on windows
Rob Withers
reefedjib at yahoo.com
Sat Jul 24 11:13:21 UTC 2010
--------------------------------------------------
From: "Levente Uzonyi" <leves at elte.hu>
Sent: Saturday, July 24, 2010 6:30 AM
To: "Squeak Virtual Machine Development Discussion"
<vm-dev at lists.squeakfoundation.org>
Subject: Re: [Vm-dev] Building the VM on windows
>
> 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?
>
I built under Cygwin, for Windows. I also built under linux, but I haven't
figured out the headless script to run testcases yet.
Under Cygwin, I svn the latest platforms, source, and cygwinbuild
directories. I start a cog image and update the Collections, Kernal, System
and VMMaker to the latest for Cog (VMMaker to oscog.25). I load
Cryptography and the latest CryptographyPlugins packages through Montecello
(CryptographyPlugins to rww.4). I generate the sources using Eliot's
script. I edit the squeak.int and squeak.ext and move the following to
squeak.ext:
DESPlugin \
DSAPrims \
MD5Plugin \
SHA256Plugin \
I run make. I take the resulting plugins for Crypto and drop them in my Cog
directory.
HTH,
Rob
>
> 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