[Issue 6822] New ubuntu linking rules prevent dmd from linking programs on Ubuntu 11.10

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 19 09:32:12 PDT 2011


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



--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-10-19 09:31:13 PDT ---
That doesn't work.  pragma(lib) only works if you are compiling all files at
the same time.

This fails to compile:

void main() {}

I didn't import std.datetime at all, so the compiler would never know that it
had to link -lrt.

-- 
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