Hitchikers Guide to Porting Phobos / D Runtime to other architectures
Walter Bright
newshound2 at digitalmars.com
Tue Jan 7 17:27:28 PST 2014
On 1/6/2014 3:47 AM, Dwhatever wrote:
> Compared to C/C++, D is very hard to get to work in the embedded/OS less
> environment because of this.
It's not that hard. Use the -betterC switch to prevent ModuleInfo records and
their dependencies from being emitted, and then you can write D code that has
zero dependence on druntime or phobos.
I've used this to port D to new platforms that have no druntime or phobos,
because I need a working & tested compiler to compile those two.
More information about the Digitalmars-d
mailing list