[Issue 1859] New: The librarian (lib.exe) confused by dashes in	object names
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Feb 21 12:09:31 PST 2008
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1859
           Summary: The librarian (lib.exe) confused by dashes in object
                    names
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: torhu at yahoo.com
I'm not sure if this is the correct place for reporting this, but it's I across
it because of rebuild's use of dashes in object file names.
Doing the following will cause lib to go into interactive mode instead of
adding b-c.obj to the library:
---
c:\prog\test\lib>lib -c test.lib a.obj
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
c:\prog\test\lib>lib test.lib b-c.obj
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
list file           (.lst)
c:\prog\test\lib>oops...
---
Adding an option, like -p512 when adding b-c.obj fixes the problem.  Putting
quotes around the file name doesn't help.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list