Contents ...
udn網路城邦
Basic tutorial - cross compile
2020/09/25 17:24
瀏覽46
迴響0
推薦0
引用0

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.


限會員,要發表迴響,請先登入