[gtkada] GtkAda 2.0 on Windows?
Stéphane Rivière
stephane at rochebrune.org
Fri Feb 7 15:04:39 CET 2003
GnatGcc 3.3 + GtkAda 2.2 under windows NT systems (v 0.1)
Stephane Riviere : stephane at rochebrune.org
Thanks to the ACT team, Jeffrey Creem and all the GtkAda ML folks.
-------------------------------------------------------------------------------
# Introduction
The suggested directory tree take hard coded gcc pathes into account, in
order to guarantee good installation reproductibility.
I'm not an Ada expert, nor a gcc hacker. I'm just a newbie in this
world, so
please feel free to correct and enhance this file.
The root directory must be "x:\gnatgcc", where "x" is your install
drive.
In the example below, the install drive is "c:"
You may choose any disk as long as you keep the root directory \gnatgcc.
I believe there is many others ways to proceed, but this one is a
simple and
an easy one but ... (read below).
At the end of the installation process, you'll get two directories :
- "c:\gnu" containing all the packages ready for a new install
- "c:\gnatgcc" containing a ready to use install of gnatgcc with gtkAda
*** IMPORTANT NOTICE*** : Even if the process described allows
successfull installation and compilation of GtkAda library and test
programs
like testgtk.exe, to date I have not succeed to make a workable
executable
of testgtk.exe.
-------------------------------------------------------------------------------
# Package download
* Directories creation
Create "c:\gnu"
Create "c:\gnu\gnatgcc"
Create "c:\gnu\gtk"
Create "c:\gnu\gtkada"
* GnatGcc
From "http://www.mingw.org/download.shtml"
To "c:\gnu\gnatgcc"
"MSYS-1.0.8.exe"
"MinGW-2.0.0-3.exe"
"gnatgcc-3.3-exp-20021006.tar.gz"
* Gtk
From "http://www.gimp.org/~tml/gimp/win32/downloads.html"
To "c:\gnu\gtk"
"gettext-dev-0.10.40-20020904.zip"
"libintl-0.10.40-tml-20020904.zip"
"pkgconfig-0.14.zip"
"atk-1.0.3-20020821.zip"
"atk-dev-1.0.3-20020821.zip"
"glib-2.2.0-20030112.zip"
"glib-dev-2.2.0-20030112.zip"
"gtk+-2.2.0-20030119.zip"
"gtk+-dev-2.2.0-20030119.zip"
"pango-1.0.5-20021201.zip"
"pango-dev-1.0.5-20021201.zip"
From "http://prdownloads.sourceforge.net/gnuwin32"
To "c:\gnu\gtk\gtkada"
"libiconv-1.8-w32-1.bin.zip"
"freetype-2.1.2-bin.zip"
"freetype-2.1.2-1-lib.zip"
"jpeg-6b-1-bin.zip"
"jpeg-6b-1-lib.zip"
"libpng-1.2.4-1-bin.zip"
"libpng-1.2.4-1-lib.zip"
"tiff-3.5.7-bin.zip"
"tiff-3.5.7-lib.zip"
"zlib-1.1.4-bin.zip"
"zlib-1.1.4-lib.zip"
* GtkAda
From "http://libre.act-europe.fr/GtkAda/"
To "c:\gnu\gtkada"
Download the latest gtkAda snapshot with the commands :
- cvs -d :pserver:anoncvs at libre.act-europe.fr:/anoncvs login
- empty password
- cvs -d :pserver:anoncvs at libre.act-europe.fr:/anoncvs co GtkAda
-------------------------------------------------------------------------------
# Installation
IMPORTANT NOTICE : In the installation process described below, some
files
already installed will be overwrite.
* Gnatgcc
Launch "MinGW-2.0.0-3.exe"
When asks "Select Destination Directory", answer "c:\gnatgcc"
Launch "MSYS-1.0.8.exe"
When asks "Select Destination Directory", answer "c:\gnatgcc\msys"
When asks "Do you wish to continue with the post install",
answer "y"
When asks "Do you have MinGW installed", answer "y"
When asks "Where is you MinGW installation", answer "c:/gnatgcc"
Expand "c:\gnu\gnatgcc\gnatgcc-3.3-exp-20021006.tar.gz" to
"c:\gnatgcc"
* Gtk
Create c:\gnatgcc\gtk
Expand to c:\gnatgcc\gtk :
"c:\gnu\gtk\gettext-dev-0.10.40-20020904.zip"
"c:\gnu\gtk\libintl-0.10.40-tml-20020904.zip"
"c:\gnu\gtk\pkgconfig-0.14.zip"
"c:\gnu\gtk\atk-1.0.3-20020821.zip"
"c:\gnu\gtk\atk-dev-1.0.3-20020821.zip"
"c:\gnu\gtk\glib-2.2.0-20030112.zip"
"c:\gnu\gtk\glib-dev-2.2.0-20030112.zip"
"c:\gnu\gtk\gtk+-2.2.0-20030119.zip"
"c:\gnu\gtk\gtk+-dev-2.2.0-20030119.zip"
"c:\gnu\gtk\pango-1.0.5-20021201.zip"
"c:\gnu\gtk\pango-dev-1.0.5-20021201.zip"
"c:\gnu\gtk\freetype-2.1.2-bin.zip"
"c:\gnu\gtk\freetype-2.1.2-1-lib.zip"
"c:\gnu\gtk\jpeg-6b-1-bin.zip"
"c:\gnu\gtk\jpeg-6b-1-lib.zip"
"c:\gnu\gtk\libpng-1.2.4-1-bin.zip"
"c:\gnu\gtk\libpng-1.2.4-1-lib.zip"
"c:\gnu\gtk\tiff-3.5.7-bin.zip"
"c:\gnu\gtk\tiff-3.5.7-lib.zip"
"c:\gnu\gtk\zlib-1.1.4-bin.zip"
"c:\gnu\gtk\zlib-1.1.4-lib.zip"
Create c:\tmpiconv
Expand "libiconv-1.8-w32-1.bin.zip" to "c:\tmpiconv"
copy "c:\tmpiconv\iconv.exe" to "c:\gnatgcc\gtk\bin"
copy "c:\tmpiconv\*.dll" to "c:\gnatgcc\gtk\lib"
copy "c:\tmpiconv\iconv.lib" to "c:\gnatgcc\gtk\lib"
copy "c:\tmpiconv\iconv.lib" to "c:\gnatgcc\gtk\lib\libiconv.a"
copy "c:\tmpiconv\iconv.h" to "c:\gnatgcc\gtk\include"
copy "c:\tmpiconv\libcharset.h" to "c:\gnatgcc\gtk\include"
Delete "c:\tmpiconv"
Using the config panel, system applet, advanced option, then env.
vars button.
Add to PATH "c:\gnatgcc\gtk\bin" and "c:\gnatgcc\gtk\dll"
* GtkAda 2
Manual source patches
In "c:\gnu\gtkada\src\makefile.in", add at line 15 the switch
-mms-bitfields to obtain a modified line looking like :
"CFLAGS = @CFLAGS@ -mms-bitfields -Wall @GTK_CFLAGS@ -I.. $(FPIC)"
In "c:\gnu\gtkada\src\opengl\makefile.in", add at line 10 the
switch
-mms-bitfields to obtain a modified line looking like :
"CFLAGS = @CFLAGS@ -mms-bitfields -Wall @GTK_CFLAGS@ -I. $(FPIC)"
In "c:\gnu\gtkada\src\gtkextra\makefile.in", add at line 10 the
switch
-mms-bitfields to obtain a modified line looking like :
"CFLAGS=@CFLAGS@ -mms-bitfields"
Using the desk icon Msys, launch Msys, and then :
$ "cd /c/gnatgcc/gtk"
$ "patch -p0 < ../contrib/gtkada-2.0-win32.diff"
Quit Msys
Installation
Copy c:\gnu\gtkada dto c:\gnatgcc\gtk
Launch Msys, and then :
$ "cd /c/gnatgcc/gtk"
$ ./configure --prefix=/c/gnatgcc/gtk
--host=i686-windows-mingw32 (1)
$ make install (2)
Test
Launch "c:\gnatgcc\gtk\testgtk\testgtk.exe" to validate installation
-------------------------------------------------------------------------------
# Misc infos.
(1) ./configure screen dump
Administrateur at ST2 /c/gnatgcc/gtk
$ ./configure --prefix=/c/gnatgcc/gtk --host=i686-windows-mingw32
loading site script /etc/config.site
loading cache ./config.cache
checking host system type... i686-windows-mingw32
checking target system type... i686-windows-mingw32
checking build system type... i686-windows-mingw32
checking for merge... true
checking for diff... /bin/diff
checking for the correct diff option... -u
checking for patch... /bin/patch
checking for the correct patch option... -f
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatmake... /mingw/bin/gnatmake
checking that your gnat compiler works with a simple example... yes
checking for perl5... no
checking for perl... no
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking for pkg-config... /mingw/gtk/bin/pkg-config
checking for GTK - version >= 2.0.0... yes
checking how to run the C preprocessor... gcc -E
checking whether NLS is requested... yes
checking for libintl.h... no
checking for OpenGL... no
checking for Mesa... no
checking Mesa with pthreads... no
*** OpenGL support will not be integrated into GtkAda ***
checking for libglade-config... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile.common
creating src/Makefile
creating src/gtkada-config
creating src/gate
creating testgtk/Makefile
creating src/gtkextra/Makefile
creating src/opengl/Makefile
creating src/glade/Makefile
creating src/gnome/Makefile
creating docs/gtkada_ug/Makefile
creating docs/gtkada_rm/Makefile
(2) ./make install screen dump
$ make install
make -C src install
make[1]: Entering directory `/c/gnatgcc/gtk/src'
mkdir -p lib-obj
chmod +x gate gtkada-config
make -C gtkextra
make[2]: Entering directory `/c/gnatgcc/gtk/src/gtkextra'
glib-genmarshal --prefix=gtk_extra_marshal --header gtkextra.list >
gtkextramarshal.h
glib-genmarshal --prefix=gtk_extra_marshal --body gtkextra.list >
gtkextramarshal.c
gcc -c -g -O2 -mms-bitfields -Ic:/gnatgcc/gtk/include/gtk-2.0
-Ic:/gnatgcc/gtk/lib/gtk-2.0/include -Ic:/gnatgcc/gtk/include/atk-1.0
-Ic:/gnatgcc/gtk/include/pango-1.0 -Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include gtkpsfont.c
gcc -c -g -O2 -mms-bitfields -Ic:/gnatgcc/gtk/include/gtk-2.0
-Ic:/gnatgcc/gtk/lib/gtk-2.0/include -Ic:/gnatgcc/gtk/include/atk-1.0
-Ic:/gnatgcc/gtk/include/pango-1.0 -Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include gtkcombobox.c
gcc -c -g -O2 -mms-bitfields -Ic:/gnatgcc/gtk/include/gtk-2.0
-Ic:/gnatgcc/gtk/lib/gtk-2.0/include -Ic:/gnatgcc/gtk/include/atk-1.0
-Ic:/gnatgcc/gtk/include/pango-1.0 -Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include gtkcolorcombo.c
gcc -c -g -O2 -mms-bitfields -Ic:/gnatgcc/gtk/include/gtk-2.0
-Ic:/gnatgcc/gtk/lib/gtk-2.0/include -Ic:/gnatgcc/gtk/include/atk-1.0
-Ic:/gnatgcc/gtk/include/pango-1.0 -Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include gtkbordercombo.c
gcc -c -g -O2 -mms-bitfields -Ic:/gnatgcc/gtk/include/gtk-2.0
-Ic:/gnatgcc/gtk/lib/gtk-2.0/include -Ic:/gnatgcc/gtk/include/atk-1.0
-Ic:/gnatgcc/gtk/include/pango-1.0 -Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include gtkfontcombo.c
make[2]: Leaving directory `/d/gnatgcc/gtk/src/gtkextra'
gnatprep -DGETTEXT_INTL=False \
-DHAVE_GETTEXT=False gtkada-intl.gpb gtkada-intl.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../make_gtk.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-bitmap.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-color.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-cursor.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-dnd.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-drawable.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-event.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-font.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-gc.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-image.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-input.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-keyval.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-main.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-pixbuf.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-pixmap.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-property.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-rectangle.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-region.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-rgb.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-threads.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-types.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-types-keysyms.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-visual.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-window.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gdk-window_attr.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-convert.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-enums.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-error.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-glade.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-glist.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-gnodes.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-graphs.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-gslist.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-module.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-object.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-properties.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-properties-creation.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-type_conversion_hooks.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-values.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-xml.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-accel_group.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-accel_label.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-accel_map.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-adjustment.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-alignment.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-arguments.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-arrow.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-aspect_frame.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-bin.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-button.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-button_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-calendar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-cell_editable.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-cell_renderer.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-cell_renderer_pixbuf.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-cell_renderer_text.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-cell_renderer_toggle.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-check_button.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-check_menu_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-clipboard.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-clist.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-color_selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-color_selection_dialog.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-combo.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-container.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-ctree.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-curve.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-dialog.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-dnd.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-drawing_area.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-editable.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-enums.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-event_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-extra.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-extra-border_combo.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-extra-color_combo.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-extra-combo_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-file_selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-fixed.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-font_selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-font_selection_dialog.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-frame.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-gamma_curve.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-gentry.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-grange.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-handle_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-handlers.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-hbutton_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-image.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-image_menu_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-input_dialog.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-invisible.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-item_factory.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-label.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-list.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-list_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-list_store.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-main.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-marshallers.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-menu.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-menu_bar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-menu_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-menu_shell.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-misc.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-notebook.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-object.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-option_menu.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-paned.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-pixmap.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-plug.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-preview.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-progress.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-progress_bar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-radio_button.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-radio_menu_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-rc.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-ruler.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-scale.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-scrollbar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-scrolled_window.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-separator.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-size_group.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-socket.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-spin_button.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-status_bar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-stock.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-style.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-table.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tearoff_menu_item.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_attributes.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_buffer.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_child.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_iter.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_mark.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_tag.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_tag_table.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-text_view.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tips_query.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-toggle_button.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-toolbar.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tooltips.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_model.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_model_sort.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_store.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_view.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-tree_view_column.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-type_conversion.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-vbutton_box.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-viewport.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-widget.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-window.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-canvas.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-dialogs.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-file_selection.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-handlers.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-intl.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-mdi.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-pixmaps.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtkada-types.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango.ads
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango-attributes.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango-context.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango-enums.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango-font.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../pango-layout.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-generic_properties.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-old_editable.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../gtk-layout.adb
gcc -c -I../ -O2 -gnatn -gnatws -I- ../glib-xml_int.ads
cd lib-obj; gcc -c -g -O2 -mms-bitfields -Wall
-Ic:/gnatgcc/gtk/include/gtk-2.0 -Ic:/gnatgcc/gtk/lib/gtk-2.0/include
-Ic:/gnatgcc/gtk/include/atk-1.0 -Ic:/gnatgcc/gtk/include/pango-1.0
-Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include -I.. ../misc.c
../misc.c: In function `ada_gdk_event_get_width':
../misc.c:884: warning: suggest parentheses around + or - inside shift
../misc.c:893: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_height':
../misc.c:899: warning: suggest parentheses around + or - inside shift
../misc.c:908: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_button':
../misc.c:960: warning: suggest parentheses around + or - inside shift
../misc.c:972: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_state':
../misc.c:978: warning: suggest parentheses around + or - inside shift
../misc.c:1000: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_mode':
../misc.c:1022: warning: suggest parentheses around + or - inside shift
../misc.c:1032: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_detail':
../misc.c:1038: warning: suggest parentheses around + or - inside shift
../misc.c:1048: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_focus':
../misc.c:1054: warning: suggest parentheses around + or - inside shift
../misc.c:1064: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_area':
../misc.c:1097: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_count':
../misc.c:1104: warning: suggest parentheses around + or - inside shift
../misc.c:1108: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_in':
../misc.c:1114: warning: suggest parentheses around + or - inside shift
../misc.c:1118: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_is_hint':
../misc.c:1124: warning: suggest parentheses around + or - inside shift
../misc.c:1128: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_key_val':
../misc.c:1134: warning: suggest parentheses around + or - inside shift
../misc.c:1144: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_property_state':
../misc.c:1166: warning: suggest parentheses around + or - inside shift
../misc.c:1170: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_visibility_state':
../misc.c:1176: warning: suggest parentheses around + or - inside shift
../misc.c:1180: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_gdk_event_get_requestor':
../misc.c:1216: warning: suggest parentheses around + or - inside shift
../misc.c:1220: warning: suggest parentheses around + or - inside shift
../misc.c: In function `ada_box_get_child':
../misc.c:2468: warning: comparison between signed and unsigned
cd lib-obj; gcc -c -g -O2 -mms-bitfields -Wall
-Ic:/gnatgcc/gtk/include/gtk-2.0 -Ic:/gnatgcc/gtk/lib/gtk-2.0/include
-Ic:/gnatgcc/gtk/include/atk-1.0 -Ic:/gnatgcc/gtk/include/pango-1.0
-Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include -I.. ../misc_extra.c
cd lib-obj; gcc -c -g -O2 -mms-bitfields -Wall
-Ic:/gnatgcc/gtk/include/gtk-2.0 -Ic:/gnatgcc/gtk/lib/gtk-2.0/include
-Ic:/gnatgcc/gtk/include/atk-1.0 -Ic:/gnatgcc/gtk/include/pango-1.0
-Ic:/gnatgcc/gtk/include/glib-2.0
-Ic:/gnatgcc/gtk/lib/glib-2.0/include -I.. ../misc_broken.c
ar cr libgtkada.a lib-obj/glib*.o lib-obj/gdk*.o lib-obj/gtk*.o
lib-obj/pango*.o lib-obj/misc.o lib-obj/misc_extra.o
lib-obj/misc_broken.o gtkextra/gtk*.o
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then \
ranlib libgtkada.a; \
fi
make -C opengl
make[2]: Entering directory `/c/gnatgcc/gtk/src/opengl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/opengl'
make -C glade
make[2]: Entering directory `/c/gnatgcc/gtk/src/glade'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/glade'
make -C gnome
make[2]: Entering directory `/c/gnatgcc/gtk/src/gnome'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/gnome'
test -f .devel || cp -p -f lib-obj/*.ali .
test -f .devel || chmod -w glib*.ali gdk*.ali gtk*.ali
gcc -c -O2 -gnatn -gnatws gate.adb
gcc -c -O2 -gnatn -gnatws gtk-glade.adb
gcc -c -O2 -gnatn -gnatws gtk_generates.adb
gnatbind -x gate.ali
gnatlink -o gate-in.exe -L. -lgtkada -Lc:/gnatgcc/gtk/lib
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv gate.ali
gcc -c -O2 -gnatn -gnatws gdialog.adb
gnatbind -x gdialog.ali
gnatlink -L. -lgtkada -Lc:/gnatgcc/gtk/lib -lgtk-win32-2.0
-lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
gdialog.ali
Installing GtkAda in /d/gnatgcc/gtk
make[2]: Entering directory `/c/gnatgcc/gtk/src/opengl'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/opengl'
make[2]: Entering directory `/c/gnatgcc/gtk/src/glade'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/glade'
make[2]: Entering directory `/c/gnatgcc/gtk/src/gnome'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/c/gnatgcc/gtk/src/gnome'
------------------------------------------------------------------
-- GtkAda has now been installed. --
-- To be able to use the library, you may need to update your --
-- LD_LIBRARY_PATH or to run ldconfig. You may also need to --
-- update your PATH to include gtkada-config in it. --
------------------------------------------------------------------
make[1]: Leaving directory `/c/gnatgcc/gtk/src'
make -C testgtk install
make[1]: Entering directory `/c/gnatgcc/gtk/testgtk'
gnatprep -r -c -DHAVE_GL=False -DWIN32=False \
opengl/view_gl.gpb opengl/view_gl.adb
-------------------------------------
gnatmake -g -O2 -gnata -gnatws testgtk `gtkada-config`
-------------------------------------
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl testgtk.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
main_windows.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl common.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_alignment.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_arrow.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_box.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_button_box.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_buttons.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_calendar.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_canvas.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_check_buttons.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_clist.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_color_selection.a db
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_ctree.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_cursors.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_dialog.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_dnd.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_entry.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_file_selection.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_fixed.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_font_selection.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_frame.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_gamma_curve.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl create_gc.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_handle_box.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_item_factory.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_label.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_layout.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_list.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_main_loop.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_menu.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_notebook.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_paned.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_pixbuf.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_pixmap.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_preview_color.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_preview_gray.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_progress.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_radio_button.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_range.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_reparent.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_rulers.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_scroll_test.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_scrolled.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_selection.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_size_groups.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_spin.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_status.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_test_idle.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_test_timeout.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_text.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_toggle_buttons.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_toolbar.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
create_tooltips.adb
gcc -c -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl
libart_demo.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango.ads
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango-font.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
opengl/view_gl.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango-layout.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango-enums.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango-attributes.adb
gcc -c -I./ -g -O2 -gnata -gnatws -I../src -I../src/opengl -Iopengl -I-
../src/pango-context.adb
gnatbind -aO./ -aO../src -aO../src/opengl -aOopengl -I- -x testgtk.ali
gnatlink -g -L../src -L../src/opengl -lgtkada -Lc:/gnatgcc/gtk/lib
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv testgtk.ali
Nothing to do -- just run the ./testgtk program
make[1]: Leaving directory `/c/gnatgcc/gtk/testgtk'
make -C docs install
make[1]: Entering directory `/c/gnatgcc/gtk/docs'
make -C gtkada_rm install
make[2]: Entering directory `/c/gnatgcc/gtk/docs/gtkada_rm'
mkdir -p /c/gnatgcc/gtk/doc/GtkAda/gtkada_rm
for i in `ls *.html *.info* *.ps *.texi *.txt *.tex *.jpg`; \
do \
/bin/install -c -m 644 $i /c/gnatgcc/gtk/doc/GtkAda/gtkada_rm; \
done
ls: *.html: No such file or directory
ls: *.info*: No such file or directory
ls: *.ps: No such file or directory
ls: *.txt: No such file or directory
make[2]: Leaving directory `/c/gnatgcc/gtk/docs/gtkada_rm'
make -C gtkada_ug install
make[2]: Entering directory `/c/gnatgcc/gtk/docs/gtkada_ug'
mkdir -p /c/gnatgcc/gtk/doc/GtkAda/gtkada_ug
for i in `ls *.html *.info* *.ps *.texi *.txt *.tex *.gif *.jpg`; \
do \
/bin/install -c -m 644 $i /c/gnatgcc/gtk/doc/GtkAda/gtkada_ug; \
done
ls: *.html: No such file or directory
ls: *.info*: No such file or directory
ls: *.ps: No such file or directory
make[2]: Leaving directory `/c/gnatgcc/gtk/docs/gtkada_ug'
make[1]: Leaving directory `/c/gnatgcc/gtk/docs'
-------------------------------------------------------------------------------
# Things to do
Fix testgtk exception
Open Gl package integration
-------------------------------------------------------------------------------
eof
More information about the gtkada
mailing list