armcc library used in ARM_GNU GCC application, Removing unused functions code from the final binary
Asked by
Siva Pothireddy
Hi,
I have created an application with ARM GNU GCC compiler which uses the armcc library(created with armar).
i tried -fdata-sections -ffunction-sections options while compiling and --gc-sections while linking and was successfully able to remove unused functions in the application code from the final binary, but not the ones from the library.
I am doing this exercise to reduce my application size, so wanted to know if there is a way to give some options in the armcc side , then use that library with GCC to remove the unused functions code of the library in the final binary.
Please let me know
Thanks
Siva
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Siva Pothireddy for more information if necessary.
To post a message you must log in.