digitalmars.D - Integrating DMD into IDE (Code::Blocks)
- Cris (11/11) Feb 26 2006 We've been discussing the Code::Blocks support with one of its
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/12) Feb 26 2006 Sounds like a Code::Blocks problem, and can probably be handled there.
- Cris (5/14) Feb 26 2006 Yes it is but the problem can be solved by somebody knowledgeable about
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (7/11) Feb 26 2006 Yeah, see my homepage at http://www.algonet.se/~afb/
- James Dunne (6/24) Feb 26 2006 Oh, I thought that was an internet acronym for 'away from brain', like
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/6) Feb 26 2006 Only on some days. Saturdays and Mondays likely candidates. :-D
- Cris (10/10) Feb 26 2006 Any idea why this incorrect code crashesh Code::Blocks when compiling
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
Feb 26 2006
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.exeSounds 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
Feb 26 2006
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.And you are afb?? :)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
Feb 26 2006
Cris wrote: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 --andersI 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?? :)
Feb 26 2006
Anders F Björklund wrote:Cris wrote:Oh, I thought that was an internet acronym for 'away from brain', like afk for 'away from keyboard'. -- Regards, James DunneYeah, 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 --andersI 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?? :)
Feb 26 2006
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
Feb 26 2006
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 } }
Feb 26 2006