Project

General

Profile

Cross-compiling NDN projects for Raspberry Pi » History » Version 6

Wentao Shang, 03/06/2014 10:33 AM

1 1 Wentao Shang
Cross-compiling NDN projects for Raspberry Pi
2
=============================================
3
4 2 Wentao Shang
Note: before reading this document, you should already be familiar with the basic concepts of compiling and linking (especially the linking part). If not, you may be interested in reading this great book: [Linkers and Loaders](http://www.amazon.com/Linkers-Kaufmann-Software-Engineering-Programming/dp/1558604960/ref=sr_1_1?ie=UTF8&qid=1394130356&sr=8-1&keywords=linker+and+loader)
5 3 Wentao Shang
6 4 Wentao Shang
Basic Steps
7
-----------
8 3 Wentao Shang
9 6 Wentao Shang
We first introduce the high level steps of cross-compiling. Remember to compile a C/C++ project, we need the source code for the project, the header files for the included libraries, the binary objects of the libraries, and the compiler tools (gcc, as, ld, etc.). The last three things together is referred to as a _building environment_.