September 2008
Build Rsync Cross Compile ลงใน mips32el STB
จันทร์, 09/15/2008 - 20:18 | by sakeหลังจากที่งมอยู่นาน ปรากฎว่า architecture ผิด -_-''
ที่จริงเป็น mipsel ไม่ใช่ mip เฉย ๆ
แก้ /etc/apt/source.list
deb http:// www.emdebian.org/debian/ stable main deb-src http:// www.emdebian.org/debian/ stable main
ลอง Compile ใหม่ บน etch
# apt-get update # apt-get install binutils-mipsel-linux-gnu # apt-get install libc6-dev-mipsel-cross libc6-mipsel-cross # apt-get install gcc-4.1-mipsel-linux-gnu g++-4.1-mipsel-linux-gnu
จากนั้น compile rsync
# wget http://samba.anu.edu.au/ftp/rsync/rsync-3.0.4.tar.gz # tar zxvf rsync-3.0.4.tar.gz # cd rsync-3.0.4 # CC="mipsel-linux-gnu-gcc" LDFLAGS="-static" ./configure --target=mipsel --host=i386 # make
จากนั้น copy ไฟล์ rsync ไปใช้งาน
:D








