[ << ]
[ < ]
[ Home ]
[ > ]
[ >> ]
2. Terminology and Variables
2.a. Terms
- toolchain
-
The collection of programs used to compile/debug/etc... code (like the
compiler (gcc), the assembler/linker (binutils), the system C library
(glibc), and the debugger (gdb))
- cross-compiler
- A toolchain that runs on one type of system but compiles code to run on another (CHOST != CTARGET)
- canadian cross
-
The process of building a cross-compiler which will run on a different
machine from the one it was compiled on (CBUILD != CHOST && CHOST != CTARGET)
- CBUILD: build system
- The system type you compile binaries on
- CHOST: host system
- The system type you execute binaries on
- CTARGET: target system
- The system type you compile binaries for
- sysroot: system root
- The root directory a compiler uses to find its standard headers and libraries
- hardfloat
- The system has a hardware Floating Point Unit (FPU) to handle floating point math
- softfloat
- The system lacks a hardware FPU so all floating point operations are approximated with fixed point math
- PIE
- Position Independent Executable (-fPIE -pie)
- PIC
- Position Independent Code (-fPIC)
- CRT
- C RunTime
[ << ]
[ < ]
[ Home ]
[ > ]
[ >> ]
The contents of this document are licensed under the Creative Commons -
Attribution / Share Alike license.
|