Re: Setting up a cross compiling toolchain
Posted: Fri Feb 12, 2010 9:59 pm
I installed Arm port of Debian Lenny with qemu from here. Then I mounted the hda.img with -o loop to my nfs export path and mounted it from the TV. Now I have gcc/gdb et.al. running from TV. (Better to exit qemu before mounting, or you will experience strange things if you modify the filesystem through the -o loop mount)
I also tried running nmap, but it says "Bus error"
Edit:
My bad. I tried running nmap under chroot, but it runs fine from the TV after I added the library paths:
I also tried running nmap, but it says "Bus error"
Edit:
My bad. I tried running nmap under chroot, but it runs fine from the TV after I added the library paths:
Code: Select all
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dtv/usb/sda2/armel_chroot/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dtv/usb/sda2/armel_chroot/usr/lib