Configuring Phobos from the 1-click installer

Moses via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 12 08:02:53 PDT 2014


> PATH environment variable is not related at all with phobos2 
> sources paths.
>
> All Linux packages (Ubuntu too) includes 
> "-I/usr/include/dmd/phobos" on /etc/dmd.conf configuration file.
> If you need to explicit pass this argument to dmd compiler, may 
> be due to several reasons.
>
> - You've edited your "/etc/dmd.conf" file.
>
> - You've created a new "dmd.conf" on your current directory, on 
> you home directory or on dmd command directory (/usr/bin/).
>
> Any "dmd.conf" file on these places, overrides "/etc/dmd.conf"
>
> Take a look at:
> $ cat /etc/dmd.conf
>
> Regard,


I didn't find any extra dmd.conf files, but I found that adding
#!/usr/include/dmd/phobos
to the top of my D program solved the problem to my satisfaction. 
Thanks so much for your help.


More information about the Digitalmars-d-learn mailing list