Is libdruntime deprecated in 2.051?

Steven Schveighoffer schveiguy at yahoo.com
Mon Dec 27 08:37:07 PST 2010


On Sat, 25 Dec 2010 01:49:37 -0500, Heywood Floyd <soul8o8 at gmail.com>  
wrote:

>
>
> Quick 2.051 D for Xcode fix:
>
> Open
>    /Library/Application Support/Developer/Shared/Xcode/Plug-ins/
> And do Show contents on the 'D for Xcode.xcplugin"-bundle and then open
>    ./Contents/Resources/dmd2.pblinkspec
> and change the line
>    CommandLineArgs = { NO = (); "<<otherwise>>" =  
> ("/usr/local/lib/libphobos2.a", "/usr/local/lib/libdruntime.a"); };
> to
>    CommandLineArgs = { NO = (); "<<otherwise>>" =  
> ("/usr/local/lib/libphobos2.a"); };
> and restart Xcode.
>
> (Sorry for the boring post. Just documenting for future reference.)
>
> BR
> /HF

Another possibility, rebuild druntime on your own.

Simple as make -f posix.mak on OSX from the compiler's src/druntime  
directory.

You then have to copy the library.

-steve


More information about the Digitalmars-d-learn mailing list