Thread (5 messages) 5 messages, 3 authors, 2011-11-27

x86 kernel build chain - how bzImage gets created

From: Daniel Baluta <hidden>
Date: 2011-11-22 10:59:32

On Tue, Nov 22, 2011 at 12:46 PM, Graeme Russ [off-list ref] wrote:
Hi All,

Hopefully this will help demystify the build process

Notation:
<primary input file> (<file size in bytes>)
?|
?+ <additional input file>
?|
?* <command>
?|
?\-> <output file> (<file size in bytes>)

The file sizes are arbitrary and are based on the current configuration
options I have set for a small kernel. They are simply there to illustrate
the relative differences in file sizes.
Great! Thanks for sharing this.
Note that vmlinux.o is not used to generate bzImage but I've included it
for completeness
[...]
+ net/built-in.o
|
* ld -m elf_i386 -r -o vmlinux.o
|
\->vmlinux.o (2,889,050)
What is the purpose of vmlinux.o then?

thanks,
Daniel.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help