私は非常に基本的な質問GNU/Libtool
について持っています。私のプロジェクトはGNU/autotools
でビルドされ、共有オブジェクトビルドはGNU/Libtool
で作成されています。私はx86-64
マシン上i386
共有オブジェクトをコンパイルしたいので、私は実行します。GNU/Libtoolのクロスコンパイル
$ ./configure --build=i386
checking for a BSD-compatible install... /usr/bin/install -c
...
checking whether to build shared libraries... no
checking whether to build static libraries... yes
...
config.status: executing depfiles commands
config.status: executing libtool commands
$
configureスクリプトは共有ライブラリがサポートされていない私に教えて、make
コマンドは失敗します。このクロスコンパイルの問題を解決するには?
回答はLibtool manualで見つかるはずですか?
32ビットコード生成を強制するために、コンパイラとリンカに '-m32'フラグを追加しました。 –