Re: Glib 2.32.x, Win32 and threading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On 7/4/2012 at  4:41 AM, Damon Register <dregister@xxxxxxxxx> 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 

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux