On Sat, 25 Dec 2010 01:49:37 -0500, Heywood Floyd <soul...@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

Reply via email to