https://issues.dlang.org/show_bug.cgi?id=16668
Issue ID: 16668
Summary: Hello world causes linker errors
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
When compiling a simple hello world application dmd spits out 1000+ errors
available here: http://pastebin.com/xe7UGxTj
Same issue occurs when compiling with -fPIC.
The exact contents of app.d is:
import std.stdio;
void main()
{
writeln("it works");
}
--