linking C++/D static library - what is "crt0.o"?

Jacob Carlborg via digitalmars-d-ldc digitalmars-d-ldc at
Mon Dec 29 03:11:35 PST 2014

On 2014-12-29 05:55, Daniel Murphy wrote:

> crt0.o contains the code to call C's main and a few other things.  It is
> automatically added when building an executable.  The error possibly
> means your system isn't set up for statically linking the cruntime.

Yeah, OS X doesn't support static linking of the C runtime.

/Jacob Carlborg

More information about the digitalmars-d-ldc mailing list