Tool/software: TI C/C++ Compiler
We are using armcl version 16.9.0.lts.
www.ti.com/.../spnu151q.pdf
We have a static library with dynamic code analysis functionality (CTC++) which we want to include into our compiled executable
The code of the executable isn't supposed or needed to reference it.
We use gdb as a debugger to run the executable and start its main loop and after tasks have been performed, we use gdb to access the CTC functions in the library to give us an overview of what functions were executed.
For an x86 version of the code we use the gcc compiler and these specific linker options to tell gcc to keep the library included:
LIBRARY = -L$(CTC_LIB_PATH) -Wl,--whole-archive -lctc_hota -Wl,--no-whole-archive
Question:
How can we achieve the same effect with the armcl compiler?
Sofar the compiler is probably excluding the library for optimization reasons.
We are using these flags in this order:
-O0ff
-z
---search_path=/dir --library=filename.a
The compiler output doesn't explicitly mention that it has found the library but chooses to ignore it. Can such choices be enabled to show?
Kind regards