Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 26, 2006 Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
We've been discussing the Code::Blocks support with one of its developers last night. Code::Blocks has some basic support for DMD & the D language now and can be used to create and compile projects but there are problems. It cannot generate debug information. We have investigated the problem and found out that the switch /CO is not passed to the linker link.exe, although -g -debug etc. are passed to dmd.exe Are there any HOWTOs or tips how DMD can be intergrated in a IDE? Does anybody else use Code::Blocks for D? Cris |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | Cris wrote: > We've been discussing the Code::Blocks support with one of its developers last night. > > Code::Blocks has some basic support for DMD & the D language now and can be used to create and compile projects but there are problems. It cannot generate debug information. > > We have investigated the problem and found out that the switch /CO is not passed to the linker link.exe, although -g -debug etc. are passed to dmd.exe Sounds like a Code::Blocks problem, and can probably be handled there. (link flags are possible to pass on to DMD, using the -L flag to it...) > Does anybody else use Code::Blocks for D? I am using Code::Blocks, but mostly interested in the GNU compilers... (Working on adding support for Mac OS X, and for GDC, to Code::Blocks) --anders |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | > Sounds like a Code::Blocks problem, and can probably be handled there. > (link flags are possible to pass on to DMD, using the -L flag to it...) > Yes it is but the problem can be solved by somebody knowledgeable about CB and DMD. CB compiles all .d files one by one and then links them. The flag -L might actually help if I knew how to include it in CB. >> Does anybody else use Code::Blocks for D? > > I am using Code::Blocks, but mostly interested in the GNU compilers... > (Working on adding support for Mac OS X, and for GDC, to Code::Blocks) > > --anders And you are afb?? :) |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | Cris wrote: >> I am using Code::Blocks, but mostly interested in the GNU compilers... >> (Working on adding support for Mac OS X, and for GDC, to Code::Blocks) > > And you are afb?? :) Yeah, see my homepage at http://www.algonet.se/~afb/ Or the "gdcmac" and "wxd" projects at SourceForge... Code::Blocks is kinda working on Mac OS X, but it has some layout problems that obscures the text edit area. Details at http://www.algonet.se/~afb/wx/codeblocks.html --anders |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote: > Cris wrote: > >>> I am using Code::Blocks, but mostly interested in the GNU compilers... >>> (Working on adding support for Mac OS X, and for GDC, to Code::Blocks) >> >> >> And you are afb?? :) > > > Yeah, see my homepage at http://www.algonet.se/~afb/ > Or the "gdcmac" and "wxd" projects at SourceForge... > > Code::Blocks is kinda working on Mac OS X, but it has > some layout problems that obscures the text edit area. > > Details at http://www.algonet.se/~afb/wx/codeblocks.html > > --anders Oh, I thought that was an internet acronym for 'away from brain', like afk for 'away from keyboard'. -- Regards, James Dunne |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Dunne | James Dunne wrote: > Oh, I thought that was an internet acronym for 'away from brain' Only on some days. Saturdays and Mondays likely candidates. :-D It also has another meaning in the US, i.e. http://www.afb.org/ or http://www.af.mil/. But no, it's just my company and initials. --anders |
February 26, 2006 Re: Integrating DMD into IDE (Code::Blocks) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | Any idea why this incorrect code crashesh Code::Blocks when compiling with DMD? struct VideoMode { int width; int height; }; enum VideoModes { VideoMode vm640x480 = { width:640, height:480 }, VideoMode vm800x600 = { width:800, height:600 }, VideoMode vm1024x768 = { width:1024, height:768 }, VideoMode vm1280x800 = { width:1280, height:800 } } |
Copyright © 1999-2021 by the D Language Foundation