Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

'D' compiler is not fully supported! UTF-8 to the masses :)

<< < (2/5) > >>

mandrav:

--- Quote ---Tell me, why I cannot convert files (source code or whatever) to any other encodings just within CB. I care this because the English language is not my native one and I make my comments and string constants in my native language. Why not to do just like Ultimate++ IDE allows you to do that?
--- End quote ---

Oh, no, another one...
Look Ptomaine, if you like [whatever_ide_goes_here] better, please, just use it.


--- Quote ---It's so natural tool and not so hard to implement? So why?????
--- End quote ---

Because noone has sent a patch for it. It's that simple.

aarti_pl:
I send a patch (not for above problem, but anyway...), and it is still not included :-(

DMD and GDC 'D' compilers works also on linux, but they are disabled in codeblocks on linux. My patch turn them on when using codeblocks on linux. My patch is still not included into codeblocks.

Please include it into main svn tree.

PS. Patch in attachment. I work with it already for quite a long time on linux. It's relatively simple, so I don't think it is necessary to test it on every platform.

Regards
Aarti_pl

[attachment deleted by admin]

Game_Ender:

--- Quote from: Ptomaine link=topic=3950.msg31588#msg31588 ---Thanks for your explaination. But let me disagree with you. It is my responsibility to tune the build tool in a such a way that it works right for me. The only responsibility for CB is to call it and to pass the needed arguments to it. That's all.

--- End quote ---

You slightly misunderstood me.  I meant from inside codeblocks you invoke build with a custom make command, just like you do make.  It is not the responsibility of the CB developers to include build, just like they don't include make.  So using build is supported by Code::Blocks, you just have to get the program yourself.

Offtopic:  Have they renamed build to dbuild.

afb:
Something that I didn't understand was why DMD / GDC was new compilers ?
Shouldn't it (D) be more like a new language, next to the current C and C++ ?

Like this, for GCC:

* C = gcc
* CPP = g++
* D = gdc
Or for Digital Mars:

* C = dmc
* CPP = dmc
* D = dmd
Then the *.d files could be of type "D" and use the setting for the D compiler ?


Meanwhile, I'm using the "CPP" type for D files - with a custom build command:

--- Code: ---     <Option compilerVar="CPP" />
     <Option compiler="gcc" use="1" buildCommand="gdc $options $includes -c $file -o $object" />

--- End code ---

It is being used to build the wxD project, on all three platforms: MSW/GTK/Mac

afb:

--- Quote from: Game_Ender on September 07, 2006, 08:43:23 pm ---Offtopic:  Have they renamed build to dbuild.

--- End quote ---

Not yet, it seems... http://dsource.org/projects/build/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version