0

So I'm working on a simple, 64 bit operating system written in x86 Assembly Language and C++ (of course, without the use of any standard libraries). What I'm trying to achieve is an operating system with the bootloader written in Assembly Language and the kernel written in C++.

I did manage to write a simple bootloader in plain Assembly Language beforehand, now I'm wondering how to do it now that I'm using C++. I'm using g++ to compile the C++ code and it doesn't work because it isn't compiling the C++ code into raw binary, which then causes the linking to fail. I've been trying to get help on how to get g++ to compile to raw binary to no avail. Also, could someone help me out with how I can convert the completed bootable binary (.bin) file into a bootable iso.

0 Answers0