Ubuntu uses log 2 (build a C ++ cross-compiling environment in Eclipse)
Release uses cross-Compilation: arm-none-linux-gnueabi-gcc. Procedure:
1) in Project-> Properties-> C/C ++ Build-> Settings, change Configure to Release, in gcc c Compiler and
In Command of gcc c Linker: Enter arm-none-linux-gnueabi-gcc;
2) follow these steps: http://blog.csdn.net/oqidian12345/article/details/8968078;
3). After the operation in step 2 is completed, the system may fail. The system prompts that arm-none-linux-gnueabi-gcc cannot be found, because it is in the 64-Bit Memory Bu
Which follows 32-bit libraries.
However, many download links to the 32-bit library have expired. Install the new SDK manager at http://tieba.baidu.com/p/2245543310,
But the ia32-libs in the Link has also expired, the valid link is: http://cz.archive.ubuntu.com/ubuntu lucid main, according to the blog (http://341719xubin.blog.163.com/blog/static/13292079320119583956891/) to operate.
4). After the installation is complete, follow the method in 2) after setting the environment variable, still prompts that the cross compiler cannot be found, but also in another change
Environment variable: gedit/etc/environment, add the path where arm-none-linux-gnueabi-gcc is located, and then source/etc/environment takes effect,
Restart the system.