Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: tomjnx on January 05, 2013, 05:46:33 pm

Title: Autotools Build System
Post by: tomjnx on January 05, 2013, 05:46:33 pm
I have updated my autotools build system patch (#3151 on the Berlios patch tracker).

It now does the following:
- add automake build infrastructure for missing core plugins (headerguard loghacker modpoller tidycmt); they default to off, but can be enabled on the configure command line
- fix files missing from the install of the scripted wizard
- make it possible to crosscompile win32 binaries under linux using mingw tools

It is now fairly easy to cross-compile win32 binaries, at least under fedora. After all necessary mingw32-* packages are installed, do the following:
mkdir obj-win32
cd obj-win32
mingw32-configure --with-wx-config=/usr/i686-w64-mingw32/sys-root/mingw/bin/wx-config --with-contrib-plugins=all --enable-header-guard --enable-log-hacker --enable-modpoller --enable-tidycmt
make

Win64 binaries do not build yet, but that is not a build system issue.
Title: Re: Autotools Build System
Post by: MortenMacFly on January 05, 2013, 09:43:58 pm
Win64 binaries do not build yet, but that is not a build system issue.
They cannot build. Several patches are needed to make it work. These are pending.
Title: Re: Autotools Build System
Post by: tomjnx on January 06, 2013, 01:24:54 pm
I have updated the patch. The devpak plugin now builds too, and there are some fixes to make all wxcontrib items actually build DLL's.
Title: Re: Autotools Build System
Post by: tomjnx on January 09, 2013, 12:56:26 pm
Another update: merged trunk (moz chardet changes)