Writing a GRUB kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
dh

Re:Writing a GRUB kernel

Post by dh »

This is awkard... mbchk reports all green. What is the typical output for everybody here?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Writing a GRUB kernel

Post by Solar »

New thread for any issues regarding the GCC Cross-Compiler setup:

GCC Cross-Compiler issues

Giving this thread back to those who have problems getting their kernel to load with GRUB. ;)
Every good solution is obvious once you've found it.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Writing a GRUB kernel

Post by Solar »

Chris Giese wrote: how big is a CygWin installation that contains everything you need to re-compile GCC? (gcc, binutils, Make, m4, bash, fileutils, shellutils, etc.)
The basic Cygwin binary setup, including make, flex, bison, and gcc, is 21,6 MB.

binutils-2.15 and gcc-core are 24 MB.

The C++ extensions (gcc-g++) are 2.4 MB.

So, an "all included" setup would be roundabout 48 MByte.
Every good solution is obvious once you've found it.
dh

Re:Writing a GRUB kernel

Post by dh »

Ok, I've followed all of Chris's info. --file-align=4096 doesn't work, nor --image-base.

mbchk is reporting all green but the last option is said to be "off" (address field). Magic number still reported 000...

Cheers, DH.
Post Reply