TotoCalculator 2 for Linux - libraries and object code -------------------------------------------------------------------------------- TotoCalculator 2 uses the libraries Glib-1.2.10, GTK+-1.2.10 and wxWidgets-2.4.2. Glib-1.2.10 and GTK+-1.2.10 are covered by the LGPL, wxWidgets-2.4.2 is covered by the wxWidgets Library Licence. Section 6 of the LGPL Version 2 requires that a "work that uses the Library" includes any data and utility programs needed for reproducing the executable from it (but need not include anything that is normally distributed with the major components of the operating system on which the executable runs). -------------------------------------------------------------------------------- www.totocalculator.com provides the object files of the "work that uses the Library" and the changes made in the used libraries: The source code of Glib, GTK and wxWidgets can be downloaded from these sites: Glib-1.2.10 and GTK+-1.2.10: www.gtk.org wxWidgets-2.4.2: www.wxWidgets.org -------------------------------------------------------------------------------- TotoCalculator 2 was compiled with GCC-3.4.1 and consists of the following components: 1. Object code of the "work that uses the Library": tmtall.o (or: tmtall_test.o ) libtomcrypt.a These objects were compiled using the following options: c++ -c --pipe -x c++ -fno-rtti -ansi -Wall -W -Wno-unused -Wpointer-arith -Wconversion -Wbad-function-cast -Wno-ctor-dtor-privacy -Werror -Os -DNDEBUG -DGTK_NO_CHECK_CASTS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MMD -fno-exceptions -DSTRICT -DUSE_DEFINE -DWXW -D_X86_=1 -D__WXGTK__ -I/... This file is provided in TotoCalculator-2-Libs 2. libwx_gtk-2.4.a wxWidgets-2.4.2, configuration: ./configure --with-gtk --without-motif --disable-compat22 --disable-threads --disable-shared --disable-debug_info --disable-debug_flag --enable-no_rtti --enable-no_exceptions --disable-joystick --enable-optimise --enable-config --enable-accel --without-libpng --without-libjpeg --without-libtiff --without-regex --disable-pcx --disable-pnm --disable-iff --disable-icocur + change in lib/wx/include/gtk-2.4/wx/setup.h: #define wxUSE_WCHAR_T 0 // instead of 1 + change in the make-files: -Os instead of -O2 The files changed by the author are found in /wxWidgets-changes. The adaptations are found by searching for "Sturmlechner". Please consider that the build will not succeed without these modifications. There is of course no warranty that these changes are useful. If you use tmtall_test.o instead of tmtall.o the build succeeds without any change of the wxWidgets-Library (of course with the configuration shown above including the change in setup.h.) Be aware that without the changes of the wxWidgets-Library the application will not fully work. 3. libgtk.a libgdk.a GTK+-1.2.10, configuration: ./configure --with-included-gettext This library was not changed at all. 4. libglib.a Glib-1.2.10, configuration: ./configure This library was not changed at all. 5. libgmodule.a 6. libz.a 8. libXext.so (dynamic link) With this data and information, you can modify the Libraries and then relink to produce a modified executable containing the modified Library.