Tango 0.99.6 Jeff released

Gregor Richards Richards at codu.org
Wed Apr 30 14:52:14 PDT 2008


Kenny B wrote:
>>
>> Also, now a graphical installer for Mac OSX Intel is available, thanks 
>> to Rasmus Andersson. Further, thanks to Gregor Richards, the set of 
>> GDC bundles for Linux now includes packages for X86_64. Anders F. 
>> Björklund also has been involved for the Universal binaries, and to 
>> help make the various packages consistent
>>
>> http://www.dsource.org/projects/tango/wiki/GdcDownloads
> 
> I am trying to upgrade to tango. I downloaded the x86_64 installer, and 
> run it. I have put the prefix as both /usr/ and /usr/local/
> 
> All of the files are there and installed correctly.
> I have tried various dmd.conf files -- but I believe they are not for gdc
> 
> I ran when trying to compile one of the examples, I have the following:
> 
> /usr/local/bin/gdmd FileBucket.d -v
> parse     FileBucket
> semantic  FileBucket
> import    object    
> (/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../include/d/4.1.2/object.d) 
> 
> import    tango.io.FilePath    (tango/io/FilePath.d)
> FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d'
> 
> and also with gdc:
> 
> $ gdc -v FileBucket.d                    Using built-in specs.
> Target: x86_64-unknown-linux-gnu
> Configured with: ./configure --prefix=/home/gregor/d/tango/0.99.6/gdc 
> --enable-languages=c,d --enable-static --disable-shared --disable-multilib
> Thread model: posix
> gcc version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024)
> /usr/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.2/cc1d 
> FileBucket.d -quiet -dumpbase FileBucket.d -mtune=k8 -auxbase FileBucket 
> -version -iprefix 
> /usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4..1.2/ -o 
> /tmp/ccPQUrJX.s
> GNU D version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024) 
> (x86_64-unknown-linux-gnu)
>     compiled by GNU C version 4.2.3 (Debian 4.2.3-3).
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d'
> 
> ----------------
> 
> Anyonr have any ideas??? I really want to get tango working -- cause I 
> need to make the switch
> 
> Kenny

If you install it and then don't use a build tool, gdc/gdmd won't know 
where to find the includes. In short, everyone should use a build tool. 
Always. Always and forever. With GDC the only standard include locations 
are .../include (right next to the C[++] include files) and 
.../include/d/<gcc-version> (too constrained), so at the very least you 
need a build tool that knows more sensible include locations.

And the includes, by the way, are in .../include/d . If you're 
absolutely insane, you can include them with -I.../include/d .

  - Gregor Richards


More information about the Digitalmars-d-announce mailing list