We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Do you have a binary or an object/image? If you have an object or image, you can use the RVCT fromelf tool to see how it was built. Try "fromelf -v ". (You might want to direct the output to a file)If what you have is a raw binary, I don't believe it is possible.
ARM generates an ELF as the output on compilation and linking.
The compiler options are embedded in the header of the ELF.
Google "ELF structure" for more information.
You can use toolchains like "fromelf", "objdump" provided by GCC as well to extract the ELF information and print into the readable format.