Gea-Suan Lin's BLOG

Sunday, December 17, 2006

QEMU

最近在 mipsel 平台上面發展一些東西,不過 cross-compile 的問題多到爆炸,決定用 QEMU 搞個純 mipsel 的環境出來 compile,省得 cross-compile 有一堆問題要解決,於是就找到這篇蠻新的文章:Debian on an emulated MIPS(EL) machine。 當時 FreeBSD ports 裡的版本是 11/02 cvs,雖然已經蠻新的 (比起七月的 0.8.2),不過 QEMU mips/mipsel 在十一月月初的版本仍然是跑不起來的,因為月中的時候才大修 mips/mipsel 把系統搞定。直到這幾天 maintainer 更新了 ports,趕緊裝起來測試,果然可以用,把一些簡單的軟體 compile 後的 static binary 丟到測試機上果然沒問題 :D 接下來可以來測試很多東西了… :p