1

我必须在带有 ARM Cortex A8 的项目中使用为 ARM Cortex M4 预编译的库。链接器自然会给我一个错误:

file "..." has a Tag_CPU_arch_profile attribute value of "77" that is different than one previously seen ("65"); combining incompatible files

我可以使用 arm-none-eabi-objcopy 来转换库吗?它不包含特定于外围设备或微控制器本身的代码。两者都是ARM。似乎有可能,但如何?

4

0 回答 0