On 7/15/2018 2:46 PM, tcb wrote:
Thank you both, that clarifies a lot!
You can set the start address with the DMC C compiler using a #pragma: https://www.digitalmars.com/ctg/pragmas.html#startaddress but currently that isn't directly settable with the DMD compiler. You can see how it is used in this file of the DMC runtime library: https://github.com/DigitalMars/dmc/blob/master/src/WIN32/constart.c#L88