In Embedded Linux, port boa-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Understand the concept of cross-compiling environment. Due to various constraints on the Development Board, one of our current development modes is to compile on the PC and then port it to the Development Board for running. This is equivalent to chewing the food and then feeding the baby. So, never put the compressed boa package on the Development Board to decompress it, And then compile and optimize it. This is simply not possible, because there is no cross-compiling environment on the development board. If so, there is no need to install it on the PC.
2. When you execute./configure under the VM, the system may say that you do not have this permission. In this case, execute chmod 777 configure.
3. Configure Makefile.
Note: Do not blindly change CC and CPP to arm-linux-gcc or the like. You can write it like this on the Internet, because the cross-compilation path of others is that, not necessarily yours.
4. Before making, make sure that your cross-compiler version is 2.95.3. Otherwise, an error occurs. After modifying the version, you 'd better reboot it, and then execute./configure, reconfigure it, And then compile and optimize it!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service