Building druntime on MAC OS X

Jacob Carlborg doob at me.com
Sat Nov 16 01:57:43 PST 2013


On 2013-11-16 04:19, Andrew Edwards wrote:
> I am having little problem building druntime on Mac OS X 10.9
> (Mavericks) and am wondering if anyone has experienced with this and
> some guidance on how to fix it.
>
> Here is my command:
> make -f posix.mak install DMD=../install/bin/dmd
>
> And here is the resulting error:
> ../install/bin/dmd -ofgenerated/osx/default/rdmd rdmd.d
> ld: unknown option: --export-dynamic
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> --- errorlevel 1
> make: *** [generated/osx/default/rdmd] Error 1

--export-dynamic doesn't come from the makefile but most likely from 
dmd.conf. It's used on Linux and FreeBSD but not on Mac OS X, please 
remove it.

BTW where did you get the dmd.conf file from?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list