GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rymut/deterministic-builds-msvc: Utility for creating deterministic builds under Microsoft Visual C++

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
tests
tests
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
conanfile.py
conanfile.py
 
 

Repository files navigation

deterministic-builds-msvc

Utility for creating deterministic builds under Microsoft Visual C++

Target features

  • Modify signatures for outputs and PDB
  • Modify date times in outputs and PDB
  • Modify __DATE__, __TIME__ and __TIMESTAMP__ to custom date
  • Modify __FILE__ macro to remove full path

References

MSVC Compiler/Linker flags

  • /experimental:deterministic - expermental flag - deterministic builds (do not modify any macro)
  • /Brepro - undocumented linker & compiler flag sets __DATA__="1", __TIME__="1", __TIMESTAMP="1"
  • /d1trimfile:<path> - trim source path from __FILE__ macro & pdb file location

Related projects

  • Microsoft PDB https://github.com/microsoft/microsoft-pdb
  • Dubicle https://github.com/jasonwhite/ducible - fixes date, time and PDB signatures

References

  • Getting to Deterministic Builds on Windows - Nikhil's blog https://nikhilism.com/post/2020/windows-deterministic-builds/
  • Why are the module timestamps in Windows 10 so nonsensical? - The Old New Thing https://devblogs.microsoft.com/oldnewthing/20180103-00/?p=97705

About

Utility for creating deterministic builds under Microsoft Visual C++

Topics

deterministic-buildmicrosoftmsvcmsvc2019

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.