Re: [Vala] How to compile glib using MingW under Windows
- From: raum no-log org
- To: vala-list gnome org
- Subject: Re: [Vala] How to compile glib using MingW under Windows
- Date: Wed, 26 Sep 2012 16:20:40 +0200
Adjustement
# cd /src/glib-2.34.0/
# export LIBFFI_CFLAGS='-I /mingw/lib/libffi-3.0.11/include'
# export LIBFFI_LIBS=-lffi
# export CFLAGS="-O0 -g -pipe -Wall -march=i686 -mms-bitfields -mthreads"
# configure --prefix=/build --disable-modular-tests
# make
Hello,
I've tried to compile libgee but it depends to glib... :-/
So, how to compile glib for Vala ?!?
Reference site : http://www.mingw.org/wiki/Bootstrapping_GLIB_with_MinGW
For information, I've relocated my precdedent "vala-src" directory in
"/src" directory. I've modified msys/etc/fstab to :
c:/vala-build/mingw /mingw
c:/vala-build/vala-0.18 /vala
c:/vala-build/src /src
c:/vala-build/mingw/lib /usr/lib
c:/vala-build/build /build
1/ Install few more libs
At first, we need to install these packages :
libstdc++-4.6.2-1-mingw32-dll-6.tar.lzma
libgcc-4.6.2-1-mingw32-dll-1.tar.lzma (for libgcc_s_dw2-1.dll)
mmingwrt-3.20-mingw32-dev.tar.gz (for crt2.o)
libz-1.2.7-1-mingw32-dev.tar.lzma
libz-1.2.7-1-mingw32-dll-1.tar.lzma
gettext-0.18.1.1-2-mingw32-dev.tar.lzma
gettext-0.18.1.1-2-mingw32-bin.tar.lzma
libgettextpo-0.18.1.1-2-mingw32-dll-0.tar.lzma (for
libgettextsrc-0-18-1.dll)
libexpat-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]