www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - dwt-linux: building with gdc

reply Dan Dennedy <dan dennedy.org> writes:
Although a D newb, I'm having a go at building dwt-linux with gdc. Before
getting it to work successfully with dmd, I had a gdc-based setup, and I
tried 'dsss build' with /etc/rebuild/default => gdc-posix-tango. It was
getting stuck and pegging the CPU for a _long_ time, so I added the verbose
option to the gdmd command flags. It gets stuck at 'code TableTreeEditor'
after successfully completing semantic1-3 stages.

Since I'm a newb but not incompetent and wanting to contribute somehow, I'm
hoping for someone to offer hints where to turn next in troubleshooting
this.
Feb 21 2008
parent reply Dan Dennedy <dan dennedy.org> writes:
Dan Dennedy wrote:
 Although a D newb, I'm having a go at building dwt-linux with gdc. Before
 getting it to work successfully with dmd, I had a gdc-based setup, and I
 tried 'dsss build' with /etc/rebuild/default => gdc-posix-tango. It was
 getting stuck and pegging the CPU for a _long_ time, so I added the
 verbose option to the gdmd command flags. It gets stuck at 'code
 TableTreeEditor' after successfully completing semantic1-3 stages.
I was able to proceed to completion by moving dwt/custom/TableTreeEditor.d and TreeEditor.d out of the way. I could then build all the dwt-samples and run many of them. Success: simple, HelloWorld*, Snippet258, Snippet41, torhu_synctest, DrawingBoard Segfault: ControlExample, CustomControlExample, Snippet163, Snippet189, AddressBook (starts, but any menu item crashes) That's the status in case you didn't know. It kinda works with gdc.
Feb 21 2008
parent John Reimer <terminal.node gmail.com> writes:
Dan Dennedy wrote:
 Dan Dennedy wrote:
 Although a D newb, I'm having a go at building dwt-linux with gdc. Before
 getting it to work successfully with dmd, I had a gdc-based setup, and I
 tried 'dsss build' with /etc/rebuild/default => gdc-posix-tango. It was
 getting stuck and pegging the CPU for a _long_ time, so I added the
 verbose option to the gdmd command flags. It gets stuck at 'code
 TableTreeEditor' after successfully completing semantic1-3 stages.
I was able to proceed to completion by moving dwt/custom/TableTreeEditor.d and TreeEditor.d out of the way. I could then build all the dwt-samples and run many of them. Success: simple, HelloWorld*, Snippet258, Snippet41, torhu_synctest, DrawingBoard Segfault: ControlExample, CustomControlExample, Snippet163, Snippet189, AddressBook (starts, but any menu item crashes) That's the status in case you didn't know. It kinda works with gdc.
That's good news! I'm interested in seeing gdc support for dwt. :) Unfortunately gdc lags quite severely behind the dmd releases... but gdc support will be an important part of any other cross-platform ports of DWT (until other technologies mature, like perhaps dil and llvmdc). Thanks for trying this out. :) -JJR
Feb 21 2008