Linux Flashcards
0
Q
When you run gcc on a .o file what happens
A
You produce an object file containing code to run on a computer like object.o
1
Q
What is the typical c compiler for linux
A
Gcc
2
Q
What is the command to produce an object file with gcc
A
gcc -c
3
Q
Can you cat a binary file
A
F
4
Q
What exists in a .o file
A
Text (macine code), autodata( read only data), data (global variables– local variables are on the stack in stead), symbol table (different global vars or funcs refered to by the module (address or undefined)
5
Q
Every object file starts with 0
A
T