basic cross compile tutorial
target:
forlinx-ok5718
//---install pkg for downloading source code
sudo apt-get install dpkg-dev
.
//---find source code by apt-cache
apt-cache search tree
gcat@gcatpc:~$ apt-cache depends tree
tree
Depends: libc6
apt-get source tree
#note,
#ubuntu 12, download tree_1.5.3
#ubuntu 14, download tree_1.6.0
apt-get source htop
#note,
#ubuntu 12, download htop-1.0.1
#ubuntu 14, download htop-1.0.2
//---tree
[forlinx-ok5718]:~/0915/tree-1.6.0> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
//---htop
[forlinx-ok5718]:~/0915/htop-1.0.2> ./configure --help
[forlinx-ok5718]:~/0915/htop-1.0.2> ./configure --host=arm
[forlinx-ok5718]:~/0915/htop-1.0.2> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
If this document helps you, buy a fish can for street cats.
下一則: TI am5718 with IgH etherCAT master with NEXTW_16IO BOARD
限會員,要發表迴響,請先登入

