TotoCalculator 2 for FreeBSD 7 - libraries and object code -------------------------------------------------------------------------------- TotoCalculator 2 is linked statically with the library wxWidgets-2.8.8 and dynamically with the library GTK+-2. wxWidgets is covered by the wxWidgets Library Licence, GTK+-2 is covered by the LGPL. 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 GTK (and its dependencies) and wxWidgets can be downloaded from these sites: GTK+-2: www.gtk.org wxWidgets-2.8.8: www.wxWidgets.org -------------------------------------------------------------------------------- TotoCalculator 2 for FreeBSD 7 was compiled on FreeBSD-7.0 with gcc version.4.2.1 20070719 [FreeBSD] 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-long-long -Wpointer-arith -Wconversion -Wendif-labels -Wreturn-type -Wcast-align -Winvalid-pch -fno-strict-aliasing -Wno-non-virtual-dtor -Os -DNDEBUG -DGTK_NO_CHECK_CASTS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -MMD -fno-exceptions -DSTRICT -DUSE_DEFINE -DUSE_INTERFACE_IMPLEMENTATION=0 -D_X86_=1 -D__WXGTK__ -DUNICODE -D_UNICODE -DwxUSE_UNICODE=1 -DXTHREADS -DXUSE_MTSAFE_API -DWX_PRECOMP -DNO_GCC_PRAGMA -I... 2. libwx_gtk2u_adv-2.8.a libwx_gtk2u_html-2.8.a libwx_gtk2u_core-2.8.a libwx_baseu-2.8.a wxWidgets-2.8.8, configuration: ./configure --with-gtk --enable-unicode --without-motif --disable-compat22 --disable-compat24 --disable-compat26 --disable-threads --disable-shared --disable-debug_info --disable-debug_flag --enable-optimise --enable-no_rtti --disable-exceptions --enable-no_exceptions --disable-std_iostreams --disable-joystick --enable-config --enable-accel --disable-iff --disable-icocur --without-libpng --without-libjpeg --without-libtiff --without-regex --disable-pcx --disable-pnm --without-gnomeprint --disable-display --disable-detect_sm --with-zlib=builtin --without-expat --disable-richtext The files changed by the author are found in wxWidgets-changes.zip. 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. Be aware that without the changes of the wxWidgets-Library the application will not fully work. If the compilation of TotoCalculator fails due to undefined references please recompile the wxWidgets library on your system (because your gtk+-2 library is probably older than the one TotoCalculator was compiled with). 3. gtk+-2: dynamic link with libgtk-x11-2.0 With this data and information, you can modify the Libraries and then relink to produce a modified executable containing the modified Library. Please look at the makefile for this purpose.