Common makefile (gasp) stuff

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 14 17:48:21 PST 2015


On 15/01/2015 12:24 p.m., Andrei Alexandrescu wrote:
> On 1/14/15 3:14 PM, Rikki Cattermole wrote:
>>
>> So a dub file for phobos is needed? And maybe druntime too? I'll see
>> what I can do.
>
> That would be very interesting, thanks. Prolly druntime is easiest  -
> one less dependency. Please share all discoveries you make with the core
> team here. -- Andrei

Druntime and phobos now can be built and even more importantly you can 
have druntime as a dependency to phobos. In fact it is.
Phobos supports being built as a dynamic library (there is a 
configuration for for it).
So if you want to switch to dynamic library at any time its as simple as 
adding:
"subConfigurations": {
	"phobos": "dynamicLibrary"
}
I'm pretty sure anyway.

Because of the current state of assembly files, we really need to sort 
it out. I understand that not all things are really possible in an 
inline assembler. But at the very least we should be able to compile the 
damn thing.

Dub can run external processes but its best to leave it up to the end 
dev to run the c/assembly generation. When they want it regenerated.
I think its best we commit most of the binary outputs.
Mostly c/assembly generation. Not the D stuff.

I've added information to the README on how to build based upon dub.
Docs so far have not been included. But that adds one more repo I need 
to get my hands dirty with.


More information about the Digitalmars-d mailing list