[cfe-dev] difference between --target, -mcpu, -march
Rail Shafigulin via cfe-dev
cfe-dev at lists.llvm.org
Wed Mar 16 14:53:45 PDT 2016
I'm confused about the clang --target, -mcpu, -march
Can someone give a clear explanation on what is the difference between them?
Originally I thought need to specify -mcpu (which I assume means CPU) and
-march but then I can't figure out how --target fits into the picture.
Sometimes it tells me that -march or -mcpu options is not used. I would
really appreciate any help on this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev