Windows: MINGW build problem (was Re: [Vm-dev] Building the VMon windows)

Rob Withers reefedjib at yahoo.com
Mon Jul 26 11:31:34 UTC 2010



--------------------------------------------------
From: "Andreas Raab" <andreas.raab at gmx.de>
Sent: Sunday, July 25, 2010 11:31 PM
To: "Squeak Virtual Machine Development Discussion" 
<vm-dev at lists.squeakfoundation.org>
Subject: Re: Windows: MINGW build problem (was Re: [Vm-dev] Building the 
VMon windows)

>
> On 7/24/2010 4:25 PM, Rob Withers wrote:
>> Andreas,
>>
>> Do you have an idea of what I may be doing wrong? What's causing this
>> problem?
>
> It looks like it's outputting interp.c into the wrong place. So I think 
> you need to set the path to the generated sources in VMMaker correctly.
>

I regenerated the sources and this worked this time.  Thanks!


I am now getting this error:

gcc -o 
../.././obj/Win32OSProcessPlugin/Win32OSProcessPlugin.o -g -mpentium -mwi
ndows -fomit-frame-pointer -funroll-loops -fschedule-insns2 -O2 -I. -Ic:/dx7sdk/
include -I../.././src/vm -I../../../platforms/Win32/vm -I../../../platforms/Cros
s/vm -I../.././src/Win32OSProcessPlugin -I../../../platforms/Win32/plugins/Win32
OSProcessPlugin -I../../../platforms/Cross/plugins/Win32OSProcessPlugin -DWIN32_
FILE_SUPPORT -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME="
\"Squeak\"" -DVM_VERSION="\"4.0.2.1\""  -DX86  -c 
../.././src/Win32OSProcessPlug
in/Win32OSProcessPlugin.c
../.././src/Win32OSProcessPlugin/Win32OSProcessPlugin.c:39: FilePlugin.h: No 
suc
h file or directory
../.././src/Win32OSProcessPlugin/Win32OSProcessPlugin.c:40: SocketPlugin.h: 
No s
uch file or directory
make[1]: *** [Win32OSProcessPlugin.o] Error 1


> Cheers,
>   - Andreas
>
>> --------------------------------------------------
>> From: "Rob Withers" <reefedjib at yahoo.com>
>> Sent: Saturday, July 24, 2010 2:28 AM
>> To: "Squeak VM Dev" <vm-dev at lists.squeakfoundation.org>
>> Subject: [Vm-dev] Building the VM on windows
>>
>>>
>>> I am having problems with the DESPlugin in Cog. I am now trying to
>>> test in 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