Pandora: Documentation en: Tentacle: CrossCompoling

From Pandora FMS Wiki
Jump to: navigation, search

Go back to Tentacle documentation index

1 Documentation

2 Cross-compiling the Windows client from Linux

To cross-compile the Tentacle Windows client from Linux follow these steps:

  • Install MinGW:
    sudo aptitude install mingw32
  • Install openssl:
  • Go to and download the file openssl-0.9.8e-1cm.DevPak.
    • Uncompress the file openssl-0.9.8e-1cm.DevPak:
      tar jxvf openssl-0.9.8e-1cm.DevPak
    • Copy the libraries and include files:
      cp lib/*.a /usr/i586-mingw32msvc/lib/; cp -r include/* /usr/i586-mingw32msvc/include/
  • Go to the Tentacle source directory and run:
    ./configure --host=i586-mingw32msvc && make

The Tentacle client will be left in ./src/client/.libs/tentacle_client.exe. Note that ./src/client/tentacle_client.exe is just a wrapper executable.

Go back to Tentacle documentation index