Configuring Phobos from the 1-click installer

Moses via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 11 10:12:50 PDT 2014


>> Thanks, I also found that I need to include the flag 
>> -I/usr/include/dmd/phobos to get it to compile. I tried doing:
>>
>> export PATH=$PATH:/usr/include/dmd/phobos
>>
>> but apparently I still need the -I flag. Is there another way 
>> to get around this?
>
> Does your /etc directory contain dmd.conf file? You can add 
> standard flags there
>
> Example of dmd.conf:
>
> [Environment]
> DFLAGS=-I/usr/include/dmd/phobos 
> -I/usr/include/dmd/druntime/import

Yes, my dmd.conf file already has those paths.


More information about the Digitalmars-d-learn mailing list