Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Hardware & Software Help
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Hardware & Software Help Hardware & Software related questions & help.

Thread Tools
Old 09-12-2017, 03:28 PM   #16

Originally Posted by martins View Post
 Surely compiling a binary from a given set of source files is a deterministic process! Compiling from the same source files _should_ generate the same output unless you deliberately put in a random element.
Well, it may be that the quite is talking about binary reproducibility between different compilers or different builds of the same compiler. It also talks about differences in function or section order. I can imagine that if the compiler were running multithreaded, differences in thread scheduling by the OS could result in one thread's results being available for inclusion into the binary before another thread.
Linguofreak is offline   Reply With Quote
Old 09-12-2017, 07:02 PM   #17

I've not yet tested this, but https://github.com/smarttechnologies/peparser looks promising.
It does not make the Visual C++ Compiler do deterministic builds, but as a post-build step it could (SVN-)revert the binaries in case they are "equal"

---------- Post added at 21:02 ---------- Previous post was at 20:49 ----------

Tested the above mentioned PE Parser (release v0.9.1) and it works perfectly with two consecutive D3D9Client builds.
kuddel is offline   Reply With Quote
Thanked by:

  Orbiter-Forum > Orbiter Space Flight Simulator > Hardware & Software Help

Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump

All times are GMT. The time now is 12:39 AM.

Quick Links Need Help?

About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.