I am using the standalone toolchain to produce my .so and when I link my .o files to it, I get no "undefined reference" errors because it is creating dependencies that are resolved during runtime.
I would like to resolve all the symbols during the compile-time and get "undefined reference" when symbols aren't resolved. How do I do that?
"-z defs" does the job.