digitalmars.D - Impressed
- Steve Teale (3/3) Aug 11 2007 Set up a Linux box this week - it's been a while, and loaded DMD. Previ...
- Frank Benoit (9/13) Aug 11 2007 you can supply this option in /etc/dmd.conf, according to
- Steve Teale (2/20) Aug 12 2007 Thanks, by now I had read the manual.
- BCS (4/16) Aug 11 2007 If you put phobos in /usr/include/ things just work.
Set up a Linux box this week - it's been a while, and loaded DMD. Previously I had written a test program that implemented AJP13/14, and got it working via Apache2 on Windows. Once I'd figured out how to configure mod_jk, and got Apache running again it took me about 10 minutes to make the small changes needed to make my source compile for Linux, and then it just worked - magic! The only thing I was somewhat puzzled about was that I had to use -I to tell the compiler explicitly where to look for Phobos sources. Can I do this with an environment variable or something?
Aug 11 2007
Steve Teale schrieb:The only thing I was somewhat puzzled about was that I had to use -I to tell the compiler explicitly where to look for Phobos sources. Can I do this with an environment variable or something?you can supply this option in /etc/dmd.conf, according to http://www.digitalmars.com/d/dcompiler.html... dmd will look for the initialization file dmd.conf in the following sequence of directories: 1. current working directory 2. directory specified by the HOME environment variable 3. directory dmd resides in 4. /etc/
Aug 11 2007
Frank Benoit Wrote:Steve Teale schrieb:Thanks, by now I had read the manual.The only thing I was somewhat puzzled about was that I had to use -I to tell the compiler explicitly where to look for Phobos sources. Can I do this with an environment variable or something?you can supply this option in /etc/dmd.conf, according to http://www.digitalmars.com/d/dcompiler.html... dmd will look for the initialization file dmd.conf in the following sequence of directories: 1. current working directory 2. directory specified by the HOME environment variable 3. directory dmd resides in 4. /etc/
Aug 12 2007
Reply to Steve,Set up a Linux box this week - it's been a while, and loaded DMD. Previously I had written a test program that implemented AJP13/14, and got it working via Apache2 on Windows. Once I'd figured out how to configure mod_jk, and got Apache running again it took me about 10 minutes to make the small changes needed to make my source compile for Linux, and then it just worked - magic! The only thing I was somewhat puzzled about was that I had to use -I to tell the compiler explicitly where to look for Phobos sources. Can I do this with an environment variable or something?If you put phobos in /usr/include/ things just work. take a look at this for where to put most things http://www.dsource.org/projects/scrapple/browser/trunk/scripts/dmd_update
Aug 11 2007