On processors for D ~ decoupling

Walter Bright newshound at digitalmars.com
Fri Apr 7 18:00:10 PDT 2006


Thomas Kuehne wrote:
> 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

Also, could you post the full, exact command you used? Perhaps I have 
botched that up, too.



More information about the Digitalmars-d-announce mailing list