Influence on order of object files being built and archived

(Franz Krainer) #1

Hi Gradle Team, all,

we are currently porting a build system to Gradle. So far so good. Ideally we’d like to compare outcoming hex files to each other which really worked nicely for small builds. But now with a bigger build it does matter in which order libs are coming into linkage process (which is possible to order) but also in which order object files are placed within the libs.
Is there a way to determine in which order obj files are built and archived? Is it simply the order of source files (or reverse order)? Is this reliably done/ordered like this?

Pls. help us with this topic!
Thanks in advance!