2015年6月17日 星期三

[Cross Compile] How to set parameter into Linux environment


1. Add following command to .bashrc
[Example]
For binary:
export PATH=:\
/opt/toolchain/usr/bin:\
$PATH

For library:
export LD_LIBRARY_PATH=/opt/toolchain/usr/lib/:\
/opt/toolchain/usr/armeb-linux/sysroot/usr/lib:\
/opt/toolchain/usr/linux-gnu/armeb-linux/lib/:\
$LD_LIBRARY_PATH

2. Compiler the package which you want. like tar or whatever.
If you have .configration error, please look config.log.

0 意見:

張貼留言