[gtkada] Build from source code
Dmitry A. Kazakov
mailbox at dmitry-kazakov.de
Mon Aug 19 09:29:54 CEST 2013
On Sun, 18 Aug 2013 11:58:26 -0700, you wrote:
> Yes maybe so. I was more curious why Adacore would provide the source
> files without a clue as to how they are compiled.
>
> I just needed a little direction in recreating the gtkada toolset from
> scratch so that I can get debugging info into the compiles. I have found
> so many compilation issues that I cannot resolve that is disheartening.
>
> I did find that my version of Msys/Mingw was old and I upgraded it. It
> only helped in rebuilding zlib! LOL
Your starting point could be:
http://www.mingw.org/wiki/Bootstrapping_GLIB_with_MinGW
There also exist precompiled MinGW packages for Fedora and OpenSUSE. E.g.
https://fedoraproject.org/wiki/Packaging:MinGW?rd=Packaging/MinGW
These packages include the latest builds of the Gtk stuff (version 3.8) for
Windows. I successfully used these binaries with GtkAda 3.4 on Windows.
All you have to do is
yum install mingw32-gtk3
Maybe, some themes.
Then you copy the tree
/usr/i686-w64-mingw32/sys-root/mingw
to your Windows machine and put the folder name in the path before
AdaCore's GTK.
Everything worked except for some bugs, which I presume are of Gtk itself,
e.g. memory corruption and GDK device bug (and are present in Gtk 3.4
anyway).
P.S. I understand your frustration. You are not alone. MinGW guys seem very
angry too. Gtk is a quintessence of C programming culture.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
More information about the gtkada
mailing list