====== Pandora:Documentation_ja:Tentacle:CrossCompoling ==== ===== ドキュメント ===== * [[Pandora:Documentation_ja:Tentacle:UserGuide|**Tentacle GNU/Linux ユーザガイド**]] * [[Pandora:Documentation_ja:Tentacle:WindowsGuide|**Tentacle Windows ガイド**]] * [[Pandora:Documentation_ja:Tentacle:Protocol|**Tentacle プロトコル定義**]] * [[Pandora:Documentation_ja:Tentacle:OpenSSLCertificates|**OpenSSL 証明書クイックガイド**]] * [[Pandora:QuickGuides_JA:Secure_communication_with_tentacle|**tentacle での暗号化通信**]] * **Linux での Windows クライアントのクロスコンパイル** (このガイド) ===== Windows クライアントの Linux でのクロスコンパイル ===== Tentacle Windows クライアントを Linux でクロスコンパイルするには、以下の手順を行います。 * MinGW のインストール: ''sudo aptitude install mingw32'' * openssl のイン酢jトール: * http://sourceforge.net/projects/devpaks/files/ へ行き、openssl-0.9.8e-1cm.DevPak をダウンロード * openssl-0.9.8e-1cm.DevPak を展開:''tar jxvf openssl-0.9.8e-1cm.DevPak'' * ライブラリおよびインクルードファイルをコピー:''cp lib/*.a /usr/i586-mingw32msvc/lib/; cp -r include/* /usr/i586-mingw32msvc/include/'' * Tentacle のソースディレクトリへ行き、以下を実行:''./configure --host = i586-mingw32msvc && make'' Tentacle クライアントは、**./src/client/.libs/tentacle_client.exe** に生成されます。./src/client/tentacle_client.exe は、 [[http://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html#Wrapper-executables|ラッパー実行ファイル]] であることに注意してください。 [[Pandora:Documentation_ja:Tentacle|Tentacle ドキュメント一覧に戻る]] [[Category:Pandora FMS]]