arm-xilinx-linux-gnueabi-gcc: error: unrecognized command line option ‘-mrecord-mcount’; did you mean ‘-frecord-marker=4’?
时间: 2023-10-03 10:07:43 浏览: 511
Linux 内核移植
This error message indicates that the compiler you are using (arm-xilinx-linux-gnueabi-gcc) does not recognize the command line option "-mrecord-mcount". It suggests that you may have meant to use "-frecord-marker=4" instead.
The "-mrecord-mcount" option is used to generate code that records function call counts, which can be used for profiling and optimization. However, this option may not be supported by all compilers or platforms.
If you need to use function call counting in your code, you may want to investigate alternative approaches that are supported by your compiler and platform. If you are not using function call counting, you can simply remove the "-mrecord-mcount" option from your build command.
阅读全文