Author Topic: Autotools Build System  (Read 6416 times)

Offline tomjnx

  • Multiple posting newcomer
  • *
  • Posts: 34
Autotools Build System
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Autotools Build System
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tomjnx

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: Autotools Build System
« Reply #2 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.

Offline tomjnx

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: Autotools Build System
« Reply #3 on: January 09, 2013, 12:56:26 pm »
Another update: merged trunk (moz chardet changes)