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

x86 kernel build chain - how bzImage gets created

From: Graeme Russ <hidden>
Date: 2011-11-22 11:06:09

Hi Daniel

On 22/11/11 21:59, Daniel Baluta wrote:
On Tue, Nov 22, 2011 at 12:46 PM, Graeme Russ [off-list ref] wrote:
quoted
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.
Your welcome :)
quoted
Note that vmlinux.o is not used to generate bzImage but I've included it
for completeness
[...]
quoted
+ 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?
I don't know - Anyone?

Regards,

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