How to compile to .bin/.iso format
FeepingCreature
feepingcreature at gmail.com
Wed Jun 17 12:46:20 UTC 2020
On Wednesday, 17 June 2020 at 12:39:11 UTC, FeepingCreature wrote:
> On Wednesday, 17 June 2020 at 12:30:24 UTC, Quantium wrote:
>> Hi all! I have a programm in D (The simplest OS), which should
>> be compiled into .bin or .iso format to be possible to run it
>> on VirtualBox. How can I compile it to .bin / .iso format and
>> which compiler should I use?
>
> Try this page? https://wiki.osdev.org/D_Bare_Bones combined
> with https://dlang.org/phobos/core_volatile.html to replace
> volatile.
Update: Tried and it works with ldc 1.20.1 (2.090.1) at least.
The LDC version of the command is `ldc2 -betterC -m32 -c
kernel.main.d -ofkernel.main.o -g`.
More information about the Digitalmars-d-learn
mailing list