[phobos] MODEL inference

Andrei Alexandrescu andrei at erdani.com
Wed May 29 20:30:12 PDT 2013


I'm seeing this is phobos/posix.mak:

MODEL:=default
ifneq (default,$(MODEL))
       MODEL_FLAG:=-m$(MODEL)
endif

I find it unpleasant that we have directories 
generated/xxx/yyy/{32,64,default} of which default is identical to another.

Is there a simple and robust technique to detect the default model on a 
given platform?


Thanks,

Andrei


More information about the phobos mailing list