|
Revision 8, 1.2 kB
(checked in by syllogism, 5 years ago)
|
RockRidge? attributes. . .
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
gdc -fno-builtin -nostdlib -nostartfiles -fno-exceptions -c -o build\main.o osian\kernel\boot\main.d |
|---|
| 3 |
|
|---|
| 4 |
gdc -fno-builtin -nostdlib -nostartfiles -fno-exceptions -c -o build\rtl.o osian\kernel\rtl.d |
|---|
| 5 |
|
|---|
| 6 |
gdc -fno-builtin -nostdlib -nostartfiles -fno-exceptions -c -o build\Console.o osian\kernel\boot\Console.d |
|---|
| 7 |
|
|---|
| 8 |
gdc -fno-builtin -nostdlib -nostartfiles -fno-exceptions -c -o build\Multiboot.o osian\kernel\boot\Multiboot.d |
|---|
| 9 |
|
|---|
| 10 |
gdc -fno-builtin -nostdlib -nostartfiles -fno-exceptions -c -o build\Kernel.o osian\kernel\Kernel.d |
|---|
| 11 |
|
|---|
| 12 |
nasm -f elf osian\kernel\boot\loader.asm -o build\loader.o |
|---|
| 13 |
|
|---|
| 14 |
ld -T osian\kernel\linker.ld build\*.o -o build\osian.tmp |
|---|
| 15 |
objcopy -O elf32-i386 --change-section-lma .text-0xC0000000 --change-section-lma .data-0xC0000000 --change-section-lma .bss-0xC0000000 --change-section-lma .rdata-0xC0000000 build\osian.tmp build\osian.bin |
|---|
| 16 |
|
|---|
| 17 |
move build\osian.bin build\osian.gz |
|---|
| 18 |
mkdir build\image\boot\grub |
|---|
| 19 |
copy dist\boot\menu.lst build\image\boot\grub |
|---|
| 20 |
copy dist\boot\grub.img build\image\boot\grub |
|---|
| 21 |
copy build\osian.gz build\image\boot |
|---|
| 22 |
mkisofs -R -volid "Osian" -b boot/grub/stage2_eltorito.img -no-emul-boot -boot-load-size 4 -boot-info-table -o ../osian.iso build/image |
|---|
| 23 |
|
|---|