On Saturday, 22 February 2020 at 13:20:40 UTC, IGotD- wrote:
I'm trying to find information how to port D, especially the D
runtime to a proprietary OS.
Here is my "Frankenstein" MCU project:
https://github.com/denizzzka/d_c_arm_test
Maybe this will help you somehow.
It is forced to use simu
On 2020-02-22 20:30, IGotD- wrote:
That's sound like a start. Is there some kind of automation behind this
based on the target triple (-mtriple) or just some kind of hardcoded
default versions identifiers somewhere in the source code?
Have a look at [1] for a recent example.
[1]
https://git
On Saturday, 22 February 2020 at 15:18:09 UTC, kinke wrote:
I'd suggest to first hack the compiler, so that it doesn't
predefine the host OS, but a new version for your OS (and check
whether predefining `version (Posix)` is appropriate or not).
That way, you'll hit static asserts when compili
On Saturday, 22 February 2020 at 13:20:40 UTC, IGotD- wrote:
Do we have any guide for OS porting?
I'd suggest to first hack the compiler, so that it doesn't
predefine the host OS, but a new version for your OS (and check
whether predefining `version (Posix)` is appropriate or not).
That way,
On Saturday, 22 February 2020 at 13:20:40 UTC, IGotD- wrote:
I'm trying to find information how to port D, especially the D
runtime to a proprietary OS. The OS support seems to be
scattered around several files with a lot version (OS)
switches. This makes kind of hard to understand what you hav
I'm trying to find information how to port D, especially the D
runtime to a proprietary OS. The OS support seems to be scattered
around several files with a lot version (OS) switches. This makes
kind of hard to understand what you have to implement. Also, what
happens if you only have partial s