alpaca2unix blog

UNIXやGnu/Linuxの勉強と備忘録です。

AlpacaOS

OS開発にゴールはないのかもしれない

下記のページの「ld」をアレンジしたら、無事、コンパイルが通りました。ld --helpも見ていたら、概要も分かってきました。^ ^* # ld --architecture=x86_64 -r -o AlpacaOS.bin boot.o kernel.o softwaretechnique.jp これで、自前のbootloaderとkernelがく…

リンカの仕方、Makefileの書き方が分からないんです。

boot.S // Declare constants for the multiboot header. .set ALIGN, 1<<0 # align loaded modules on page boundaries .set MEMINFO, 1<<1 # provide memory map .set FLAGS, ALIGN | MEMINFO # this is the multiboot 'flag' field .set MAGIC, 0x1BADB00…