Building under Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building under Windows

Giuseppe
And now, is the turn of building under Windows.

After some fight, trying to build from git, I dessisted for the moment
because I can't get to ./autoreconf with some troubles with AC_HEADER

Today, I downloaded gst 3.2 from ftp, and did a:
./confgure --prefix=/mingw

I didn't check it, but configure seems to be ok, and then, I "make",
but, there are a moment where crash.

Msys shell is waiting at:
....
....
gcc -DHAVE_CONFIG_H -I.  -I./libgst -I./lib-src -DCMD_XZIP="\"/bin/zip
\"" -DCMD_
INSTALL="\"/bin/install -c\"" -DCMD_LN_S="\"ln -s\""
-DDEFAULT_EXECUTABLE=\""/us
r/local/bin/gst.exe"\"    -g -O2 -Wall -Wno-strict-aliasing -Wno-switch
-fno-gcs
e -fstrict-aliasing -Wwrite-strings -Wdeclaration-after-statement
-Wno-format -W
pointer-arith  -MT gst-tool.o -MD -MP -MF .deps/gst-tool.Tpo -c -o
gst-tool.o gs
t-tool.c
gst-tool.c: In function `setup_option':
gst-tool.c:210: warning: implicit declaration of function `strsep'
gst-tool.c:210: warning: assignment makes pointer from integer without a
cast
gst-tool.c: In function `setup_options':
gst-tool.c:248: warning: assignment makes pointer from integer without a
cast
gst-tool.c: In function `main':
gst-tool.c:527: warning: implicit declaration of function `setenv'
mv -f .deps/gst-tool.Tpo .deps/gst-tool.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall
-Wno-strict-aliasing
-Wno-switch -fno-gcse -fstrict-aliasing -Wwrite-strings
-Wdeclaration-after-stat
ement -Wno-format -Wpointer-arith  -export-dynamic   -o gst-tool.exe
gst-tool.o
libgst/libgst.la lib-src/library.la gsticon.o -lm
libtool: link: gcc -g -O2 -Wall -Wno-strict-aliasing -Wno-switch
-fno-gcse -fstr
ict-aliasing -Wwrite-strings -Wdeclaration-after-statement -Wno-format
-Wpointer
-arith -o .libs/gst-tool.exe gst-tool.o gsticon.o -Wl,--export-dynamic
libgst/.
libs/libgst.a -lws2_32 lib-src/.libs/library.a
e:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
warning: -
-export-dynamic is not supported for PE targets, did you mean
--export-all-symbo
ls?
./gst.exe --no-user-files --kernel-dir "./kernel" --image gst.im
-iQ /dev/null


And a popups of Windows telling me GNU Smalltalk sopped working, with
this details:


  Nombre del evento de problema: APPCRASH
  Nombre de la aplicación: gst.exe
  Versión de la aplicación: 0.0.0.0
  Marca de tiempo de la aplicación: 4bfd078a
  Nombre del módulo con errores: gst.exe
  Versión del módulo con errores: 0.0.0.0
  Marca de tiempo del módulo con errores: 4bfd078a
  Código de excepción: c0000005
  Desplazamiento de excepción: 0001b210
  Versión del sistema operativo: 6.1.7600.2.0.0.768.3
  Id. de configuración regional: 3082
  Información adicional 1: 0a9e
  Información adicional 2: 0a9e372d3b4ad19135b953a78882e789
  Información adicional 3: 0a9e
  Información adicional 4: 0a9e372d3b4ad19135b953a78882e789


If I click on Close the program, then, msys continue, and make, finish
with -

make[2]: *** [gst.im] Error 5
make[2]: Leaving directory `/home/glpunzi/smalltalk-3.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/glpunzi/smalltalk-3.2'
make: *** [all] Error 2

Any idea? There are some more recent Windows Guide to build it? I would
like to get it working with Gtk.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Building under Windows

Paolo Bonzini-2
On 05/26/2010 01:45 PM, Giuseppe Luigi Punzi wrote:

> And now, is the turn of building under Windows.
>
> After some fight, trying to build from git, I dessisted for the moment
> because I can't get to ./autoreconf with some troubles with AC_HEADER
>
> Today, I downloaded gst 3.2 from ftp, and did a:
> ./confgure --prefix=/mingw
>
> I didn't check it, but configure seems to be ok, and then, I "make",
> but, there are a moment where crash.

It's simpler to cross-compile from Fedora; follow the instruction in the
"makesetup.in" script that is part of 3.2.  I'll send you the URL to an
installer offlist.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Building under Windows

leledumbo
What MinGW GCC version do you use? 4.5.0 compiles fine here.