Re: How to compile to .bin/.iso format

2020-06-17 Thread FeepingCreature via Digitalmars-d-learn

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`.




Re: How to compile to .bin/.iso format

2020-06-17 Thread FeepingCreature via Digitalmars-d-learn

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.


How to compile to .bin/.iso format

2020-06-17 Thread Quantium via Digitalmars-d-learn
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?