question about reproducible build (NT_GNU_BUILD_ID and more)

kinke noone at nowhere.com
Tue Feb 18 11:04:10 UTC 2025


The compiler supports a Unix timestamp in the SOURCE_DATE_EPOCH 
environment variable while compiling, which affects the 
`__DATE__`, `__TIME__` and `__TIMESTAMP__` tokens, and the 
reported host CPU in the `--version` output.

After a quick search, NT_GNU_BUILD_ID seems to come from the ld 
linker, not from the compilers.


More information about the digitalmars-d-ldc mailing list