February 16, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1842

           Summary: Useless linker command line output during compilation on
                    Linux
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: andrei@metalanguage.com


When compiling with dmd on linux, the linker command line is output, e.g.:

$ dmd test
gcc test.o -o test -m32 -Xlinker -L/home/andrei/d/dmd/bin/../lib -lphobos2
-lpthread -lm
$ _

The compiler should only output the linker command in case that failed. Normal linking should issue no message. This has to do with a principle of Unix: silence is golden. Here's the relevant excerpt from a great book (The Art of Unix Programming by Eric Raymond). It's a short and excellent read:

http://www.faqs.org/docs/artu/ch11s09.html


Andrei


-- 

February 20, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1842


benoit@tionex.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from benoit@tionex.de  2008-02-20 16:01 -------


*** This bug has been marked as a duplicate of 1837 ***


--