[Gridflow-dev] [win32] Building on MinGW, possible?
federico
mescalinum at gmail.com
Sat Mar 24 21:09:02 EDT 2007
On 3/25/07, carmen <_ at whats-your.name> wrote:
> yep, probably win32/process. you can skip all the tests..
> and just manually --enable the stuff you want. its a ruby
> script, not autohell :)
I think no; the first stop is at gcc check, where I have two options:
--force-gcc3 --> same error
--no-gcc3 --> no config.make output
well, I could skip configure at all, using a pre-cooked + adjusted
config.make (see below)
but this leads to very unexpected errors:
$ make
g++ -I/usr/local/include -I. -xc++ -fno-operator-names
-fno-omit-frame-pointer -falign-functions=16 -mtune=i386 -march=i386
-Wall -Wno-unused -Wunused-variable -g -fPIC -I. -O2 -funroll-loops -c
base/main.c.fcs -o base/main.o
base/main.c.fcs:1: warning: -fPIC ignored for target (all code is
position independent)
In file included from base/main.c.fcs:45:
base/grid.h.fcs: In function `void* operator new(size_t)':
base/grid.h.fcs:40: error: `void* operator new(size_t)' was declared
`extern' and later `static'
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/new:82:
error: previous declaration of `void* operator new(size_t)'
base/grid.h.fcs: In function `void* operator new [](size_t)':
base/grid.h.fcs:41: error: `void* operator new [](size_t)' was
declared `extern' and later `static'
maybe something is wrong here: (?)
config.make:
CPU=i386
RUBYARCH=i386-mingw32
BRIDGE_LDFLAGS = -lm -lruby
BRIDGE_LDFLAGS += -rdynamic -shared
CFLAGS += -I/usr/local/include -I. -xc++ -fno-operator-names
-fno-omit-frame-pointer -falign-functions=16 -mtune=$(CPU)
-march=$(CPU)
LDSOFLAGS += -lm -ldv -ljpeg -lpng -lz
HAVE_GCC3=yes
HAVE_PENTIUM=yes
HAVE_MMX=yes
HAVE_TSC_PROFILING=no
HAVE_DV1394=no
HAVE_X11_SHARED_MEMORY=no
HAVE_PUREDATA=yes
HAVE_FFTW=no
GEM_SOURCE=../Gem/src
PD_VERSION_INT=39
GCC_VERSION=3.4.2
CXX = g++
OBJS = cpu/mmx.o cpu/mmx_loader.o format/jpeg.o format/png.o format/videodev.o
DLEXT = dll
More information about the Gridflow-dev
mailing list