You are on page 1of 2

UNIX

POSIX ( Portable Operating System Interface) is a family of statndards specified by the IEEE for maintaining compatibiliyt btwn OSs. Name given by Richard Stallman Various standards ( POSIX 2001/2004/2008 POSIX 1003.1 Certified systems defines some minimum interface for unix like operating systems and

COMPILING THE LINUX KERNEL: - Source of the linux kernel can be found at /usr/src/linux ******(K_DIR) -Architechture dependent code can be found at /usr/src/linux ******/arch/ - The main function in Kernel code is start_kernel(void) - So the assembler that will be used will be present at K_DIR/arch/i386/boot assembling is the process of changing a high level language to machine ( assembly ) language

Actually the libraries are brought in during the linking phase. Prior to that only the headers are brought in.

Basic process from C to machine: 1) Pre-processer: brings in the #includes and resolves the #defines 2) Compiling: Takes the code and turns it into object code. Any external references are left as symbolic references. 3) Linking: Libraries and other object files are combined, all external references are resolved. The output is machine code

You might also like