Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: killerbot on February 26, 2006, 10:00:29 am

Title: D language support
Post by: killerbot on February 26, 2006, 10:00:29 am
As discussed in the nightly forum (25 feb 2005), there are some issues to solve, all info can be posted here. Please if you post links to official or non official "D" sites, provide a recap of what's importatnt and you think should be done. We don't have the time to read all those "interesting" links.

Thanks,
Lieven
Title: Re: D language support
Post by: Zingam on February 26, 2006, 11:06:38 am
I think it is a good idea to provide the link to the original thread:
http://forums.codeblocks.org/index.php?topic=2469.0 (http://forums.codeblocks.org/index.php?topic=2469.0)


The compiler option -L can pass a linker flag to the linker. It has to be passed like that: dmd somefile.d -L/CO when compiling.

Is it possible when the compiler option -g is selected, also that -L/CO is passed to the compiler?

Here is some output:

Quote
E:\src>dmd main.d -L/CO

C:\dmd\bin\..\..\dm\bin\link.exe main,,,user32+kernel32/noi/CO;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
Title: Re: D language support
Post by: afb on February 26, 2006, 08:39:45 pm
Just a quick note that in addition to DigitalMars DMD (for use with DMC),
there is also a GDC (for use with GCC) with the usual gcc / g++ syntax:

"GNU D Compiler"
http://home.earthlink.net/~dvdfrdmn/d/ [GDC / D Front End for GCC]
Title: Re: D language support
Post by: Roumots on June 14, 2006, 08:50:00 am
D language support!!!!
Title: Re: D language support
Post by: Michael on June 14, 2006, 10:42:37 am
D language support!!!!

Hello,

C::B supports D already. May be not fully (at least yet :)). Did you try to use D with C::B? If yes, you can may be describe what it lacks :).

Best wishes,
Michael
Title: Re: D language support
Post by: Zingam on June 14, 2006, 03:33:56 pm
It cannot compile debug info!!!

It crashes in some cases when % is issued in the compiler output.
Title: Re: D language support
Post by: Roumots on July 10, 2006, 06:59:38 am
oh!
Title: Re: D language support
Post by: Zingam on July 10, 2006, 08:00:31 am
No chance, dude! I wish I knew how to add it!
Title: Re: D language support
Post by: Lutger on July 11, 2006, 10:45:46 pm
It cannot compile debug info!!!

It crashes in some cases when % is issued in the compiler output.

You are on windows with dmd right? You are aware that you'll need windgb (the older version that is), that gdb* won't work? As far as I can tell, I can debug stuff, only have to do it in windbg and leave codeblocks.

Hopefully someday code completion and other features will work with D too. I'm quite fond of code::blocks and still use it for D.

* not without a patch that is, I don't know if a patched gdb will work with codeblocks on windows, probably not with dmd anyway.