Replies: 5 comments
-
If anyone else is needing something like this I highly recommend that they make a vagrant build and back it up everywhere. Machines may die, projects change, but that virtual machine will always be there. |
Beta Was this translation helpful? Give feedback.
-
It just would be nice to have two machines generate the same ELF file, for purposes of archiving (via |
Beta Was this translation helpful? Give feedback.
-
Wouldn't you have to have the entire toolchain as well if you do this ? |
Beta Was this translation helpful? Give feedback.
-
Not 1 hour after I commented that I did an upgrade of my toolchain that was missing the cstddef package lol. |
Beta Was this translation helpful? Give feedback.
-
Yes, outside of having a dedicated build machine (like a CI or Jenkins using a VM), there is no guarantee that this will work. However, we recommend using the official pre-compiled binaries from ARM, as they should theoretically create an identical binary regardless of what OS compiles them. At least they all compile approximately the same source code 😝… |
Beta Was this translation helpful? Give feedback.
-
Compiling an application should reproducible regardless of project path etc.
See https://interrupt.memfault.com/blog/reproducible-firmware-builds#fdebug-prefix-map
See https://blog.galowicz.de/2016/02/20/short_file_macro/
Beta Was this translation helpful? Give feedback.
All reactions