How to build the druntime (Windows)?

Sean Kelly sean at invisibleduck.org
Thu Feb 3 15:11:51 PST 2011


Don Wrote:

> Andre Tampubolon wrote:
> > This is my situation: I put all the git stuffs in C:\dmd-dev.
> > There are 2 subdirectories in it: dmd and druntime
> > 
> > I managed to build dmd by "make -f win32.mak"
> > 
> > Trying the same thing for druntime:
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\atomic.di src\core\atomic.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\bitop.di src\core\bitop.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\cpuid.di src\core\cpuid.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\demangle.di src\core\demangle.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\dll_helper.di 
> > src\core\dll_helper.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\exception.di 
> > src\core\exception.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\memory.di src\core\memory.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\runtime.di src\core\runtime.d
> > dmd -c -d -o- -Isrc -Iimport -Hfimport\core\thread.di src\core\thread.d
> > src\core\thread.d(1601): Error: undefined identifier malloc
> > 
> > --- errorlevel 1
> > 
> > Any idea?
> > 
> 
> You're not doing anything wrong.
> 
> It fails on the autotester as well:
> http://d.puremagic.com/test-results/index.ghtml
> 
> This commit broke it:
> https://github.com/D-Programming-Language/druntime/commit/1449d7bd75c656cb0215d73077549c896c10163f

Sorry about that.  It should be fixed now.



More information about the Digitalmars-d mailing list