How to build the druntime (Windows)?
Andre Tampubolon
andre at lc.vlsm.org
Fri Feb 4 06:25:00 PST 2011
Well previously phobos and druntime directories were in the same directory.
So I move druntime directory into phobos', and the layout looks like this:
04-Feb-11 09:22 PM <DIR> .
04-Feb-11 09:22 PM <DIR> ..
04-Feb-11 08:28 AM 3,918 crc32.d
04-Feb-11 09:22 PM 0 dirr.txt
04-Feb-11 03:20 PM <DIR> druntime
04-Feb-11 08:28 AM <DIR> etc
04-Feb-11 08:28 AM 8,400 index.d
04-Feb-11 08:28 AM 1,361 LICENSE_1_0.txt
04-Feb-11 08:28 AM 9,523 posix.mak
04-Feb-11 08:28 AM <DIR> std
04-Feb-11 08:28 AM 14,464 std.ddoc
04-Feb-11 08:28 AM 3,498 unittest.d
04-Feb-11 08:28 AM 30,394 win32.mak
Still fail to build, though...
On 04-Feb-11 3:33 PM, Jonathan M Davis wrote:
> On Friday 04 February 2011 00:23:05 Andre Tampubolon wrote:
>> 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
>
> Is druntime one directory below Phobos? That is, are the phobos and druntime
> directories in the same directory? If not, the phobos build will fail to find
> druntime - which would include object.d - and then it can't build.
>
> - Jonathan M Davis
--
- Andre Tampubolon -
More information about the Digitalmars-d
mailing list