[phobos] std.complex not compiled into phobos.lib on Windows

Don Clugston dclugston at googlemail.com
Tue May 11 01:01:14 PDT 2010


On 11 May 2010 09:11, Lars Tandle Kyllingstad <lars at kyllingen.net> wrote:
> Based on the following D.learn thread it would appear that std.complex
> isn't compiled into phobos.lib on Windows:
>
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=19695
>
> I have noted that complex.d is missing from the SRCS variable defined at
> lines 97-137 of win32.mak, and I assume that's the cause of the problem.
>
> However, I am completely unable to get Phobos to compile on Windows so I
> can't know for certain whether adding it fixes the problem.  (Phobos
> won't build without druntime, and apparently I can't build druntime
> without some 'masm386' program which I don't have.)

I'm sick of that recurring. Neither file has changed for several
years, but at some point minit.asm was moved, and it got a different
date on it. I think it's fixed in the download but not in svn. Or vice
versa. You can also fix it by deleting minit.asm and copying it from
D1 or from an old D2.


> Can someone confirm that adding complex.d to SRCS fixes the issue?

Yes, that's correct. I'll fix it as soon as dsource comes back on line.


More information about the phobos mailing list