Raw binary(to work without OS) in D

Mehrdad wfunction at hotmail.com
Fri Jun 22 07:17:15 PDT 2012


On Friday, 22 June 2012 at 08:35:51 UTC, Dmitry Olshansky wrote:
> Look at say Win32 API. There is a way to reroute most of things 
> you listed directly to it. I actually do this kind of stuff in 
> my spare time. Of course your own kernel has some manner of 
> system calls too.

I'm talking about things like PE file sections used to support 
TLS and whatnot.

They're unrelated to the Windows API.



> If you can't figure it out on your own, chances are you won't 
> be able to do what you wanted in the first place (e.g. 
> real-time micro-kernel).


You're not being helpful.


> I mean it's nothing magical, all of these things are present in 
> say MS C compiler and people do these things with it just 
> _fine_.

Uh, no. D puts extra crap in the binary.


> Yeah, I understand how it could be frustrating, but once you 
> are on this kind of level you usually already running circles 
> around all of this stuff.
> That being said the info won't hurt of course.


I guess I'm not at your majesty's High Level yet? Thanks for 
being so helpful.


More information about the Digitalmars-d mailing list