Cross-compiling ORBit2
Piotr Gaczkowski <[email protected]> Tue, 31 Jul 2007 13:12:35 +0200
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Message-ID | <1185880355.6453.12.camel@quentin> |
Hello! I'm new to this list. My name is Piotr Gaczkowski and I am currently working on a project that will allow cross-compilation of various FLOSS libraries to the MinGW32 platform and provide an environment for development of projects using such libs. So far GTK+, libglade, gtkmm and libglademm are done. The next point for me is to build GConf. GConf depends on ORBit2 and here lies the problem. ORBit2 produces a compiler that needs to be executed for build to succeed. It is of course impossible to execute an executable for a different architecture so building fails. I tried different approaches: 1. Compile with native GCC, using --host=x86_64-linux-gnu --target=i586-mingw32msvc. Compiles, but produces only *.so not *.dll so probably unusable for compilation of GConf. 2. Compile with MinGW32 cross-compiler using same flags. Doesn't compile due to several things: *) lack of -pthread switch *) sys/socket.h missing *) sys/uio.h missing Is there any proper way to build ORBit2 cross-compiler and have the libraries for the target platform also? Piotr Gaczkowski _______________________________________________ orbit-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/orbit-list
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGrxkj06E9HoWPnHYRApLHAKCZbFmT0Hm7z6p51c7CSLc/cDLI4ACgmi+f 3oGHbkDzVZfH7uRyWhGik0c= =j/6a -----END PGP SIGNATURE-----