How to build the druntime (Windows)?

Andre Tampubolon andre at lc.vlsm.org
Fri Feb 4 00:23:05 PST 2011


Thanks. Now I managed to succesfully build dmd and druntime.
The next is phobos. I got this:

make -f win32.mak
dmd -c -O -release -nofloat -w -d etc\c\zlib.d -ofCzlib.obj
object.d: Error: module object is in file 'object.d' which cannot be read
Specify path to file 'object.d' with -I switch

--- errorlevel 1



On 04-Feb-11 6:11 AM, Sean Kelly wrote:
> 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.
>


-- 
- Andre Tampubolon -


More information about the Digitalmars-d mailing list