Which C runtime for MinGW and *BSD?

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 4 14:09:29 PDT 2015


On Sunday, 4 October 2015 at 10:46:24 UTC, Joakim wrote:
> I don't think other OS's use different libc's much.

AFAIK, in the case of all of the *nixes other than Linux, libc is 
part of the OS itself (certainly, that's the case with the BSDs, 
Illumos, and Solaris), so the only way you'd have an alternate 
libc is for it to be a compatibility layer on top of the actual 
libc. So, in almost all cases, the OS and the libc stuff is 
inextricably tied. Similarly, the libc across those OSes is not 
shared, because it's part of the OS. So, while they're going to 
be very similar, each of the BSDs are going to need to have their 
libc's treated as different entities rather than being lumped 
together under the same version. Each one will have to be added 
to druntime on its own if we're going to support it.

- Jonathan M Davis


More information about the Digitalmars-d mailing list