Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Digital Mars D

(1/6) > >>

venix:
To those interested. I added support for the D language and compiler to Codeblocks.  The patch can be found here.  I will post a binary later on that should drop in replacement for the current release. I used 2.6.2 instead of 2.6.1 and that created DLL issues. So i have to recompile with 2.6.1 or whichver the release uses.

Binary Release
Codeblocks_with_d.exe Compressed with 7zip
Dlink.zip
I had to use wxWindows 2.6.2. Kept crashing without. So i've rebuilt all the included plugins.  The others didn't crash me at startup. Just download and extract over top your codeblocks folder. Will replce wxwindows dll.  I've included the sdk files.
More info

It is experimental, but it works nice.  Until I start using it more, or others start using it and finding bugs, I cannot make any guarantees to its stability.

It WILL NOT remove support for C/C++ compilers or remove any functionality already existant to codeblocks as of that release. It will give shell extensions to .D files tho.

I haven't created templates for it. And I may never.

It don't support linux either.

You can follow the instructions on their site to install it. The DMD version not GDC.  The dlink program needs to be put into the bin directory of the compiler. It wraps gcc syntax to the official linkers. For those interested,  I couldn't find a way to generate Dlls without creating a def file.  So I made that proram to do it for me.

Michael:
Hello,

Interesting addition. Thanks for your work.

Best wishes,
Michael

tuft:
I'm trying debug d program in codeblock I used gdb from codeblock instalation but it doesn't recognize executable format. Which version of gdb I should use?

venix:

--- Quote from: tuft on November 15, 2005, 09:56:42 pm ---I'm trying debug d program in codeblock I used gdb from codeblock instalation but it doesn't recognize executable format. Which version of gdb I should use?

--- End quote ---
I haven't found a debugger for D executables.  They make a few suggestions on their site. http://www.dsource.org has one called dig dug, but i haven't tried it. GDB has a patch to support D if you use the gdc compiler.  I haven't played with that compiler at all.

Brork:
This is really great, finally a good IDE for D.

Thank you very much!

I hope that this will be included in future releases of Code::Blocks.

And I also have a suggestion to change the way the compilation is works.

C::B should compile all source files with a single command like this:

dmd -c sourcepath1\source1.d sourcepath2\source2.d sourcepath3\source3.d

instead of like it is now:

dmd -c sourcepath1\source1.d
dmd -c sourcepath2\source2.d
dmd -c sourcepath3\source3.d

Compiling like this would make module- and packagenames independant of source filenames and directories.


Navigation

[0] Message Index

[#] Next page

Go to full version