Pandora: Documentation en: Tentacle: CrossCompoling
From Pandora FMS Wiki
Go back to Tentacle documentation index
1 Documentation
- Tentacle User Guide GNU/Linux
- Tentacle Windows Guide
- Tentacle Protocol Definition
- OpenSSL Certificates Quick Guide
- Secure communication with tentacle
- Cross-compiling the Windows client from Linux (this guide).
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 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/
- Uncompress the file openssl-0.9.8e-1cm.DevPak:
- 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.