DEV Community

Discussion on: Writing My Own Boot Loader

Collapse
 
codinggeek1711 profile image
Maheswaran Parameswaran

I have a question, How big were ur binary files?
Once i link kernel_entry and kernel, the binary explodes to 130 mb when the original object files are less than a few thousand kilobytes

Collapse
 
frosnerd profile image
Frank Rosner

I don't remember but it was definitely small enough to fit into the amount of bytes I was reading in my bootloader and I'm pretty sure this wasn't 130 MB. Are you by any chance including the standard library or smth?

Collapse
 
codinggeek1711 profile image
Maheswaran Parameswaran

I fixed that issue... It was a problem as I was not using a cross compiler for compilation and something went weird