1)DJGPP v203
2)Nasm 0.98.39
3)gcc args:
gcc -Wall -O -fomit-frame-pointer -nostdinc -fno-builtin
4)link.ld
ld -T link.ld
OUTPUT_FORMAT("binary")
ENTRY(start)
phys = 0x00100000;
SECTIONS
{
.text phys : AT(phys) {
code = .;
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(phys + (data - code))
{
data = .;
*(.data)
. = ALIGN(4096);
}
.bss : AT(phys + (bss - code))
{
bss = .;
*(.bss)
. = ALIGN(4096);
}
end = .;
}
5)Bootable CD
mkisofs -R -b boot/grub/eltorito.s2 -no-emul-boot -boot-load-size 4 -boot-info-table -o yovnos.iso iso