Native C Support in Linux TPS (LTPS)

C and C++ are the most common and "natural" programming languages in the Linux environment. There are literally millions of programs written in C and C++! From the compiler's point of view, most of them can be compiled for and executed on the LTPP3 board.

If you are used to working with Linux on the PC, you must consider some differences between the desktop Linux and embedded Linux running on the LTPP board:

  • Due to the NAND size limitation, it is not practical to run the compiler on the LTPP. Use your desktop PC instead.
  • The architecture is not x86, but ARM. Therefore, you will need to build your code for the ARM CPU.
  • Our LTPP board is fast, but not as fast as your desktop computer. Consider performance limitations of compact embedded devices like the LTPP board.

To build a program for the LTPP3 board you will need a cross-compiler (a compiler capable of creating an executable code for a platform other than the one on which the compiler is running), some build-helpers (like Make or Cmake, etc.), as well as correct header files and precompiled libraries. All this, combined into a single installation package is often referred to as the SDK (Software Development Kit) platform.

Tibbo maintains its own LTPS (LTPP) SDK published in the LTPS downloads area. It contains everything you may need to build a binary for the LTPP board.

We recommend that you start with the LTPS SDK Setup article. Another useful starting point is the Hello World tutorial.