D Development Tools 0.7.0 Preview Release

eles eles at eles.com
Mon Jul 8 01:17:30 PDT 2013


On Friday, 5 July 2013 at 20:38:28 UTC, Bruno Medeiros wrote:
> DMD:
> [linux|osx|windows]/bin/
> src/druntime/import
> src/phobos
>
> DMD on Linux global install:
> usr/bin
> include/d/dmd

Here is my layout, that I had to manually add. It is the layout 
installed on Debian/Ubuntu by the official DMD .deb packages here 
http://dlang.org/download.html

/usr/bin/dmd

/usr/include/dmd/phobos
/usr/include/dmd/druntime/import

(BTW, why that "import" folder in the druntime configuration? It 
shouldn't be there, I think, but that's not a problem of DDT).


> GDC:
> bin/
> include/d2/<any dir that contains an object.di>

/usr/bin/gdc

(no interpreter system libraries)

OTOH, gdc seems to be configurated in a really outdated manner. 
The console displays:

--------  Build Commands:  --------
-v2
-o"bin/dtest02"

-I"src"

"src/main.d"


gdc: error: unrecognized command line option ‘-v2’


So, after removing the offending "-v2" from the project's 
"managed response file":

-v2
-o$/DEEBUILDER.OUTPUTEXE
$/DEEBUILDER.SRCLIBS.-I
$/DEEBUILDER.SRCFOLDERS.-I
$/DEEBUILDER.SRCMODULES

it works well.

For installing gdc I used the standard gdc (Ubuntu 
4.8.1-5ubuntu1) 4.8.1 package. It installs gdc v2.


More information about the Digitalmars-d-ide mailing list