I don't have much useful to say, but I did notice that the gcc-gdc version accepted as current by Cygwin Update is ancient:
gdc is /usr/bin/gdc @eboesch ~: gdc --version gdc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. Sometimes the use of old versions as "current" in cygwin indicates problems with the porting of newer ones. This would be analogous to, and maybe even directly caused by, how cygwin remains stuck in the gcc 3.4 branch even though gcc 4.0 came out years ago. I downloaded the gdc-gcc binary and tried to install Tango from source. It creates libgphobos.a and then returns a "module object cannot read file 'object.d'" error. So I was not successful in building Tango for cygwin that way. Bypassing gdc and using dmd seemed like the best bet, but since that was tried already I thought I would try to stick with gdc. I guess I'm inclined to bail now. On Tue, Aug 5, 2008 at 1:22 PM, Janzert <[EMAIL PROTECTED]> wrote: > Jason House wrote: >> >> >> On Tue, Aug 5, 2008 at 9:38 AM, Don Dailey <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> I misunderstood Jason's email. He is trying to compile his program to >> run on windows and it's written in D. You cannot log into a windows >> computer remotely either without special software. >> >> There must be someone on this group who will try to compile your >> program >> to run on windows using the digital mars D compiler. Are you using a >> lot of external libraries? >> >> >> The latest version uses Tango 0.99.7, flex, and bison. The dependency on >> flex and bison are for SGF parsing and can be commented out with relative >> ease (housebot.d has approximately 3 lines that reference sgf). >> >> I made a last ditch attempt this morning, downloading "Easy D" from >> http://www.fsdev.net/versions/show/7 and the HouseBot source from >> http://sourceforge.net/svn/?group_id=149506 >> >> My initial download of the tar.gz failed because the computer didn't have >> gunzip and tar. I then downloaded Tortoise SVN from >> http://tortoisesvn.net/downloads and rebooted. >> >> I did not have command line utilities to run compute_version.sh, so I made >> the following manual hb_version.d file: >> void gtp_version(){ return "HouseBot 0.7 r811"; } >> >> and then ran the equivalent of dmd *.d game/*.d search/*.d -unittest >> -ofhousebot-0.7 >> To my shock and horror, the digital mars d compiler then crashed. >> >> I've been developing with gdc (d variant of gcc) because of it's broader >> platform compatibility, but that's not part of the easy d distribution. At >> that point, I gave up and sent the e-mail. >> >> > > For reference here's the results of my try building it as well. > Unfortunately it boils down to not having gotten any farther than you > and maybe not as far. > > I've developed in D but not using tango or dsss before so may have > gotten something setup wrong. > > When first trying to compile I get errors in ipc.d: > ipc.d(81): no identifier for declarator i > ipc.d(81): semicolon expected, not '!=' > ipc.d(81): no identifier for declarator i > ipc.d(81): semicolon expected, not '++' > ... > > Those are repeated for every for statement in the debug block. They > don't make any sense to me but rather than sort it out I simply > commented out the block. > > After commenting that out I then get: > C:\housebot\housebot\trunk\housebot>dsss build housebot.d > housebot.d => housebot-0.7 > Command: warn please make sure to build sgf/parser.o and sgf/lexer.o > prior to running dsss > WARNING: please make sure to build sgf/parser.o and sgf/lexer.o prior to > running dsss > + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d > -SC:\dsss > \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -Dddoc/ddoc > -unittest - > w -g sgf/parser.o sgf/lexer.o housebot.d -ofhousebot-0.7 > tangoBind.d(110): Error: void initializer has no value > tangoBind.d(114): Error: Integer constant expression expected instead of > 0.length > tangoBind.d(114): Error: Integer constant expression expected instead of > 0.length > tangoBind.d(114): Error: Integer constant expression expected instead of > 0.length > tangoBind.d(126): template instance tangoBind.isStaticArray_impl!(int[]) > error instantiating > tangoBind.d(133): template instance tangoBind.isStaticArray!(int[]) > error instantiating > ... (Repeats the tangobind.d errors several times) > > After the initial tangobind.d error it also has a pop-up saying dmd crashed. > > A simple helloworld using tango does work but beyond that I may not have > tango actually installed correctly. I used the current release from > tango's website which also includes dmd 1.033. > > Janzert > > _______________________________________________ > computer-go mailing list > computer-go@computer-go.org > http://www.computer-go.org/mailman/listinfo/computer-go/ > _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/