以下の内容はhttps://iww.hateblo.jp/entry/20091129/sh4より取得しました。


クロスビルド

古いパッケージがどこかに行ってしまったので久々にクロスビルド。

$ cd /tmp
$ apt-get source psmisc
$ cd psmisc-21.5

$ dpkg-buildpackage -us -uc -B -ash4 -rfakeroot
・・・
# Add here commands to compile the package.
./configure --prefix=/usr --mandir=\${prefix}/share/man
configure: loading site script /etc/dpkg-cross/cross-config.sh4
checking for a BSD-compatible install... /usr/bin/install -c
・・・
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [build-stamp] エラー 1

./configure時に勝手に--host sh4-linuxとかってつくんじゃなかったっけかなぁ。とりあえずdebian/rulesに書き足したら進んだので良し。




以上の内容はhttps://iww.hateblo.jp/entry/20091129/sh4より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14