Skip to content

tjjh89017/compile_link

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#Compile & Link Tutorial

##Slide

slides.pdf

##Refernece

How A Compiler Works: GNU Toolchain

The Internals of "Hello World" Program

Internal and External Linkage in C

##General Operation

Preprocess

make preprocess

Assembly Code Generation

make assembly

Compilation without linking

make object

Disassembly

make objdump

Build executable program

make build

Do all above

make all

Clean

make clean

##4_custom_static

Build additional library

make lib

##6_custom_dynamic

Build additional library

make lib

Execute with custom shared library

make run

##7_preload_dynamic

Build additional library

make lib

Execute with libc.so (normal)

make normal_run

Execute with preload shared library

make run

Releases

No releases published

Packages

No packages published