On processors for D ~ decoupling

Walter Bright newshound at digitalmars.com
Fri Apr 7 17:54:05 PDT 2006


Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Walter Bright schrieb am 2006-04-07:
>> Thomas Kuehne wrote:
>>> Walter Bright schrieb am 2006-04-06:
>>>> Although there is a lot of code in std.string, unreferenced free 
>>>> functions in it should be discarded by the linker. A check of the 
>>>> generated .map file should verify this - it is certainly supposed to 
>>>> work that way.
>>> That's not what is happening on Linux:
>> Hmm. I tried --gc-symbols, which is supposed to do it, but nothing 
>> happens (even when I try it on C++ files). Can you try --gc-symbols on 
>> your system?
> 
> doesn't work: --gc-symbols
> seems to work: --gc-sections

Right, I typo'd it. However, --gc-sections doesn't work on my system - 
everything is still linked in. But it does on yours - not all of 
std.string is linked in?



More information about the Digitalmars-d-announce mailing list