Title: Question to arctu... how to cross compile? Post by: c_ro87 on October 08, 2008, 05:37:36 am i want to cross compile some apps to Z6... how to? i have to made something like that: ?
bash3.2.0 cross compiling? # cd bash-3.2 # CC=arm-linux-gcc ./configure --host=arm-linux # CC=arm-linux-gcc make # arm-linux-strip bash python2.5.1 cross compiling? # cd python-2.5 # mkdir /root/Desktop/rokr_e2 # ./configure --target=arm-linux --prefix=/root/Desktop/rokr_e2 edit the Makefile CC = /usr/local/arm-linux/bin/arm-linux-gcc -lpthread CXX = /usr/local/arm-linux/bin/arm-linux-g++ -lpthread # make # make install busybox1.6.1 cross compiling? # cd busybox-1.6.1 # make ARCH=arm CROSS_COMPILE=arm-linux- Title: Re: Question to arctu... how to cross compile? Post by: arctu on October 08, 2008, 06:05:22 am yes. for bash yup. you might also need to specify the cross compiler also like what you did with python. For busybox, you should read their docs. ;)
|