Supporting musl libc
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 17 04:21:12 PDT 2016
On 2016-05-17 11:26, Martin Nowak wrote:
> Shouldn't be runtime detected, but a linktime/compile option.
> We introduced CRuntime_Glibc specifically to separate libc from kernel
> differences, e.g. to support android.
> Have a look at how -mscoff32 and Android are implememted in dmd.
> At best defining CRuntime_Glibc should move into dmd.conf, where you
> could also select a different phobos library to link.
In this case when I said "runtime", I meant runtime for the compiler.
-mscoff32 is a different object format that just happens to use a
different C runtime as well. But I guess we could add a new flag,
-cruntime=musl or something.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list