Thread overview
Why does GDC install C source ?
May 04, 2005
David Friedman
December 19, 2004
These GDC-installed directories:

- include/d/etc/c/recls

- include/d/etc/c/stlsoft

- include/d/etc/c/zlib

contain C/C++ code and headers...


Are they really needed for D ?

I thought that "include/d" would only hold
import modules for use with D itself (.d) ?

Especially these two, look useless enough:

> /opt/gdc/include/d/etc/c/zlib/zlib.lib: Microsoft Visual C library
> /opt/gdc/include/d/etc/c/recls/recls.lib: Microsoft Visual C library

Maybe "make install" needs some refinements ?

--anders

May 02, 2005
Anders F Björklund wrote:

> These GDC-installed directories:
> 
> - include/d/etc/c/recls
> 
> - include/d/etc/c/stlsoft
> 
> - include/d/etc/c/zlib
> 
> contain C/C++ code and headers...
> 
> 
> Are they really needed for D ?

I'll rephrase this one for GDC 0.11:

Why does GDC install the .h headers
for zlib and recls ? And not just the
.d modules (etc/c/zlib.d and std/recls.d)

--anders

PS.
Walter has already rejected moving
etc/c/zlib.d to std/c/zlib.d, so I
won't be discussing that - thank you.
May 04, 2005
Anders F Björklund wrote:
> Anders F Björklund wrote:
> 
>> These GDC-installed directories:
>>
>> - include/d/etc/c/recls
>>
>> - include/d/etc/c/stlsoft
>>
>> - include/d/etc/c/zlib
>>
>> contain C/C++ code and headers...
>>
>>
>> Are they really needed for D ?
> 
> 
> I'll rephrase this one for GDC 0.11:
> 
> Why does GDC install the .h headers
> for zlib and recls ? And not just the
> .d modules (etc/c/zlib.d and std/recls.d)
> 
> --anders
> 
> PS.
> Walter has already rejected moving
> etc/c/zlib.d to std/c/zlib.d, so I
> won't be discussing that - thank you.

If one were writing C code to interact with the D runtime, it might be useful.  I don't think it will interfere with gdc.

OTOH, now that I have moved everything to a version-specific directory, it is difficult to use the headers.

David
May 05, 2005
David Friedman wrote:

>> Why does GDC install the .h headers
>> for zlib and recls ? And not just the
>> .d modules (etc/c/zlib.d and std/recls.d)
> 
> If one were writing C code to interact with the D runtime, it might be useful.  I don't think it will interfere with gdc.

I guess it's just me being old and grumpy and failing to see what
the zlib and recls C/C++ libraries does in the standard D library...

At least just the headers is better than the full distributions.
It's not really a big deal (what's 800K) and it will not interfere.

--anders