Building druntime on MAC OS X
Jacob Carlborg
doob at me.com
Sun Nov 17 02:34:33 PST 2013
On 2013-11-16 23:13, Andrew Edwards wrote:
> What else is missing for the OS X build? After correcting the DFLAGS in
> dmd.conf, it performs as expected.
Nothing.
> I manually changed dmd.conf to:
>
> DFLAGS=-L-export_dynamic -I%@P%/../import -L-L%@P%/../lib
> -L-ldruntime-osxdefault
>
> I've not experienced any issues since.
Please remove -L-ldruntime-osxdefault. druntime is statically linked
with Phobos which DMD automatically links with.
-L-export_dynamic has never been used on Mac OS X. I don't remember why
it was added to the Linux dmd.conf file.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list