Why do I need a Cross Compiler?: Difference between revisions

m
[unchecked revision][unchecked revision]
Line 27:
 
=== -ffreestanding ===
This is important as it lets the compiler know it is building a kernel rather than user-space problemprogram. The documentation for GCC says you are required to implement the functions memset, memcpy, memcmp and memmove yourself in freestanding mode.
 
=== -nostdlib (same as both -nostartfiles -nodefaultlibs) ===
Anonymous user