Hi,
I am about to start writing a program, using gtkmm2, which I want to run
on Linux, Solaris, and Windows.
Finding recent gtkmm binaries is not trivial, and this program is not
going to be small or trivial when finished, so we are going to build the
libraries from source.
I decided its probably going to be easier and faster to cross-compile
from glib upwards on a Debian box (as it has a mingw32 cross-compiler)
using a customised garnome... but glib isn't very cross-compile
friendly... :(
There are several patches in bugzilla to fix this, many of which on
#77565. The last patch is very useful, as it reduces the number of
execution attempts.
My command line at the moment to cross-compile is:
CPPFLAGS=-I/home/users/ross/tmp/Wasteland/include/
LDFLAGS=-L/home/users/ross/tmp/Wasteland/lib/ ./autogen.sh
--host=i586-mingw32msvc --with-libiconv --enable-maintainer-mode
--disable-static --enable-debug=yes
(where ~/tmp/Wasteland contains gettext, libiconv, etc).
This works, and after applying the patch to stop doing AC_TRY_RUN when
_COMPILE works, gets up to:
checking for format to printf and scanf a guint64... configure: error:
cannot run test program while cross compiling
I've read over this test, and it appears that it needs to be ran. So we
are back to needing to be able to tell configure not to run, and #77565.
Help!
Regards,
Ross
--
Ross Burton mail: ross burtonini com
jabber: ross nerdfest org
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
Attachment:
signature.asc
Description: This is a digitally signed message part