There is not a linker script afaik but you can control function order. ie, you can insure your entry point is always the first function in the linker map. That which can contain the multiboot header, and using #pragma can align it properly as well.Kevin wrote:Not having an equivalent for linker scripts cleary is a disadvantage (I haven't checked if it's true for VS). For example, how are you going to ensure that the multiboot header will always be in the first 8k as your kernel grows?gedd wrote:LD script has no equivalent on Visual Studio and it is much complicated
Its what I am doing to support multiboot (although I dont use Grub) anyways.