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

Andreas Raab andreas.raab at gmx.de
Mon Jul 26 03:31:30 UTC 2010


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.

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