Jump to content

Workings of gcc and ld in plain view

From Wikiversity

Workings of the GNU Compiler for IA-32

[edit | edit source]

Overview

[edit | edit source]

Data Processing

[edit | edit source]

Control

[edit | edit source]
  • Conditions (pdf)
  • Control (pdf)

Function calls

[edit | edit source]
  • Procedure (pdf)
  • Recursion (pdf)

Pointer and Aggregate Types

[edit | edit source]
  • Arrays (pdf)
  • Structures (pdf)
  • Alignment (pdf)
  • Pointers (pdf)

Integer Arithmetic

[edit | edit source]
  • Overview (pdf)
  • Carry Flag (pdf)
  • Overflow Flag (pdf)
  • Examples (pdf)
  • Borrow (pdf)

Floating point Arithmetic

[edit | edit source]


Workings of the GNU Linker for IA-32

[edit | edit source]

Overview

[edit | edit source]
  • Static Linking Overview (pdf)
  • Dynamic Linking Overview (pdf)
  • Shared Library Overview (pdf)

Library Search Path

[edit | edit source]
  • Library Search using -L and -l only (A.pdf, B.pdf)

Linking Process

[edit | edit source]

Example I

[edit | edit source]

Examples II

[edit | edit source]
  • analysis of dynamic linking (A.pdf)



go to [ C programming in plain view ]