News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

D language support

Started by killerbot, February 26, 2006, 10:00:29 AM

Previous topic - Next topic

killerbot

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

Zingam

#1
I think it is a good idea to provide the link to the original thread:
http://forums.next.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:

QuoteE:\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

afb

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]

Roumots


Michael

Quote from: Roumots on June 14, 2006, 08:50:00 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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Zingam

It cannot compile debug info!!!

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


Zingam

No chance, dude! I wish I knew how to add it!

Lutger

#8
Quote from: 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.

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.