[Issue 1660] New: DFLAGS environment variables is not working

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 12 10:00:26 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1660

           Summary: DFLAGS environment variables is not working
           Product: D
           Version: 1.023
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: baryluk at mpi.int.pl


dmd is not respecting DFLAGS environment variable, this prevents from easy
switching beetwen phobos and tango.

example:

$ export DFLAGS="-I/usr/lib/dmd-tango/src -defaultlib=dtango-base-dmd
-debuglib=dtango-base-dmd -version=Tango -version=Posix"

$ ls /usr/lib/dmd-tango/src/tango/io/Console.d 
/usr/lib/dmd-tango/src/tango/io/Console.d

~/tango-0.99.2-src/example/console$ dmd hello.d 
hello.d(16): module Console cannot read file 'tango/io/Console.d'


CC environment variables is working, DFLAGS seems to not.


-- 



More information about the Digitalmars-d-bugs mailing list