Author Topic: D language support  (Read 20287 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5516
D language support
« 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

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: D language support
« Reply #1 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


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
« Last Edit: February 26, 2006, 04:34:13 pm by Zingam »

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: D language support
« Reply #2 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]

Offline Roumots

  • Single posting newcomer
  • *
  • Posts: 2
Re: D language support
« Reply #3 on: June 14, 2006, 08:50:00 am »
D language support!!!!

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: D language support
« Reply #4 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

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: D language support
« Reply #5 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.

Offline Roumots

  • Single posting newcomer
  • *
  • Posts: 2
Re: D language support
« Reply #6 on: July 10, 2006, 06:59:38 am »
oh!

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: D language support
« Reply #7 on: July 10, 2006, 08:00:31 am »
No chance, dude! I wish I knew how to add it!

Lutger

  • Guest
Re: D language support
« Reply #8 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.
« Last Edit: July 11, 2006, 10:48:24 pm by Lutger »