User forums > Help

gdc/dmd compiler support on Linux?

<< < (2/2)

afb:
I will enable the GDC "compiler" (and DMD) on Linux too while we look for a solution. As GDC was available on Mac, I kinda assumed it was on Linux too... :-)

The solution I mean is that currently D support is treated as an alternative C/C++ compiler, and that implementation limps a little so it might need to be revised.

afb:

--- Quote from: Game_Ender on November 12, 2006, 01:42:57 am ---You should be able to use gdmd, its a script front end for gdc that accepts the same command line arguments as dmd.  So if CB supports DMD on windows you should be able to use it on linux gdc through gdmd on linux.

--- End quote ---

Since CB supports both GCC and DMC, I think it should support both GDC and DMD.

philippe.quesnel:

--- Quote from: Game_Ender on November 12, 2006, 01:42:57 am ---You should be able to use gdmd, its a script front end for gdc that accepts the same command line arguments as dmd.  So if CB supports DMD on windows you should be able to use it on linux gdc through gdmd on linux.

--- End quote ---
yeah,
but both gdc & dmd are already supported on Windows !
(I currently use gdc & CB on Windows)
I was thinking that support for gdc on Linux would only require some config for the Linux build

philippe.quesnel:

--- Quote from: afb on November 12, 2006, 10:29:38 am ---I will enable the GDC "compiler" (and DMD) on Linux too while we look for a solution. As GDC was available on Mac, I kinda assumed it was on Linux too... :-)
--- End quote ---

coool.


--- Quote from: afb on November 12, 2006, 10:29:38 am ---The solution I mean is that currently D support is treated as an alternative C/C++ compiler, and that implementation limps a little so it might need to be revised.
--- End quote ---

would it be a good idea to call one instance of gdc/dmd to build all 'modified' files (that need to be compiled)
vs the traditional one call per file ?

not sure if it's worth it, but from a test I did on Windows w. gdc,
when all the files needed to be compiled (eg building a new lib),
I saved something like 40% of total compile time.

probably something to do w. having to reparse all required imported files on each seperate call ?
...
hehe, then again, what about 'DI' 'precompiled' files support ?

just suggestions anyways.

thank you,
Philippe

afb:

--- Quote from: philippe.quesnel on November 12, 2006, 04:31:45 pm ---would it be a good idea to call one instance of gdc/dmd to build all 'modified' files (that need to be compiled)
vs the traditional one call per file ?
--- End quote ---

It might be but it will be handled the same way that C/C++ is, at least for now.

Navigation

[0] Message Index

[*] Previous page

Go to full version