I want to get Preprocessor Output from my iOS project which was complied using LLVM GCC 4.2 because I want to do some static analysis.
I try to use flag -save-temps , but compilation fails at the precompiled header.
What else I can do?
Gcc has a command lind flag '-E' to get the prepocessed information. In xcode you can easily do with GUI. See here for more info.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.