Pandora: Documentation en: Tentacle: CrossCompoling

From Pandora FMS Wiki
Revision as of 07:57, 4 April 2018 by Slerena (talk | contribs) (Created page with "== Cross-compiling the Windows client from Linux == To cross-compile the Tentacle Windows client from Linux follow these steps: * Install MinGW:<pre>sudo aptitude install mi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 http://sourceforge.net/projects/devpaks/files/ 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.