www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4002] New: dmd.conf and binary path in dmd -v output

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4002

           Summary: dmd.conf and binary path in dmd -v output
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: moritzwarning web.de


--- Comment #0 from Moritz Warning <moritzwarning web.de> 2010-03-24 14:43:43
PDT ---
Users of mess up there system with wrong dmd.conf files and different dmd
versions. DMDs lack of information results in lots of confusion.
It would be helpful if dmd could output the absolute path to the dmd binary and
the used dmd.conf.

This kind output would be nice:

dmd main.d -v
Binary: /usr/bin/dmd
Config: /etc/dmd.conf
parse     main
importall main
import    object        (object.d)
object.d: Error: module object cannot read file 'object.d'

Without the second line, it would be hard to figure out where dmd expects
object.d.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 24 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4002


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2010-03-24
18:56:53 PDT ---
changeset 419

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 24 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4002



--- Comment #2 from Moritz Warning <moritzwarning web.de> 2010-03-24 20:16:33
PDT ---
The path for the dmd binary path is not absolute (Ubuntu 32bit):

$dmd main.d -v
binary    dmd
version   v1.058
config    /opt/dmd/bin/dmd.conf
parse     main
importall main
import    object        (/opt/dmd/bin/../import/object.di)
[..]

The necessary code should be in inifile.c.
DMD needs to look for the dmd.conf at the same place the dmd binary is.


Thanks!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 24 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4002


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug yahoo.com.au
         Resolution|                            |FIXED


--- Comment #3 from Don <clugdbug yahoo.com.au> 2010-04-09 19:17:02 PDT ---
Fixed DMD1.058 and DMD2.043.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 09 2010