[Issue 3328] New: DMD strips package names from objects (ignores -op) with -lib
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 17 19:03:55 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3328
Summary: DMD strips package names from objects (ignores -op)
with -lib
Product: D
Version: 1.047
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: h3r3tic at mat.uni.torun.pl
--- Comment #0 from Tomasz Stachowiak <h3r3tic at mat.uni.torun.pl> 2009-09-17 19:03:55 PDT ---
DMD strips package names / paths when generating object file names for -lib.
Then the only way to extract objects from such a lib is running the librarian
multiple times, which is sometimes too slow.
I've attached an archive containing an example of this issue. There are two
modules whose fully qualified names differ, but the last parts of their names
are the same. Compiling them with -c -lib -op and running the librarian reveals
that DMD produces two objects with the same name. Running lib -x the first time
extracts only the first one. Removing the object via lib -d and running lib -x
again extracts the second. I've included a .bat file which demonstrates this.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list