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

2011-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6822 Brad Roberts bra...@puremagic.com changed: What|Removed |Added CC||bra...@puremagic.com

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

2011-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6822 --- Comment #2 from Steven Schveighoffer schvei...@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

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

2011-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6822 --- Comment #3 from Steven Schveighoffer schvei...@yahoo.com 2011-10-19 09:31:54 PDT --- (In reply to comment #2) I didn't import std.datetime at all or rather core.time... -- Configure issuemail:

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

2011-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6822 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

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

2011-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6822 --- Comment #5 from Steven Schveighoffer schvei...@yahoo.com 2011-10-19 11:47:11 PDT --- works, thanks. Note that it still works even if you leave -L-rt in dmd.conf, even though it's not necessary to have it there. -- Configure issuemail: