ar-timestamp-wiper

Wipes time stamps from .a files (like ar -D)

https://github.com/nh2/ar-timestamp-wiper

Latest on Hackage:0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Niklas Hambüchen

This application takes an archive (.a) file as created by the Unix ar tool, and sets all time stamps in it to zero.

These time stamps make ar generate different output for same input every time, which is problematic if you want to know if the contents actually changed as compared to the last time you created the archive (e.g. in build tools to avoid unnecessary linking).

Recent versions of GNU binutils and BSD ar af the -D flag for deterministic mode that creates the archive with all time stamps set to zero. However, these versions of ar are not wide spread yet, and this tool can help with that.