Re: Glib 2.32.x, Win32 and threading
- From: "Martin Schlemmer" <Martin Schlemmer nwu ac za>
- To: <gtk-list gnome org>
- Subject: Re: Glib 2.32.x, Win32 and threading
- Date: Wed, 04 Jul 2012 12:00:33 +0200
>>> On 7/4/2012 at 4:41 AM, Damon Register <dregister clear net> wrote:
> On 7/3/2012 2:59 PM, Martin Schlemmer wrote:
>> I build my own GTK+ stack with MinGW (TDM-4.6.1) and have been using 2.16
>
> I am just curious. When you built Glib with mingw, did you use the usual
> configure, make? If so, what options and flags did you use for configure?
>
Basically. I started off a few years back by looking at Tor Lillqvist's build scripts, and made a simple build system. Besides the libtool relink sed's and some other personalisations, its basically:
-----
PREFIX_BIN="/opt/mingw-gtk2"
# for Debug s/-mtune=pentium4 -O2/-g/
FLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -mthreads -mms-bitfields"
LDFLAGS="-Wl,--enable-auto-image-base"
export CFLAGS="${FLAGS}"
export CXXFLAGS="${FLAGS}"
export PATH="${PREFIX_BIN}/bin:${PATH}"
export CPPFLAGS="-I${PREFIX_BIN}/include ${CPPFLAGS}"
export LDFLAGS="-L${PREFIX_BIN}/lib ${LDFLAGS}"
export PKG_CONFIG_PATH="${PREFIX_BIN}/lib/pkgconfig"
./configure --prefix=/opt/cc29bd2fbd48dd5593179a9133f196e4 \
--enable-shared --disable-static \
--enable-silent-rules
make -j4
make install
# Zip & copy to $PREFIX_BIN
-----
Let me know if you have more questions.
Regards,
Martin
Vrywaringsklousule / Disclaimer: http://www.nwu.ac.za/it/gov-man/disclaimer.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]