我正在使用armcc
andarmlink
来编译和链接我的程序。编译源代码后,我尝试将它们与armlink
命令链接,但出现此错误:
Fatal error: ./Release/Source/BookCity/bookcity_Protocol.o has the opposite byte
order to the preceding objects.
这个错误是什么意思?如何更改字节顺序armcc
?
这是我的链接命令:
armlink -bin -o ./cis-0.123.bin ../../Lib/X2API.alf ../../Lib/X2DeviceB.alf ../../Lib/X2Font.alf ../../Lib/X2PPPTCP.alf ./Release/Source/BookCity/bookcity_Protocol.o ./Release/Source/BookCity/bookcity_configuration.o ./Release/Source/BookCity/bookcity_initialization.o ./Release/Source/BookCity/bookcity_transactions.o ./Release/Source/Cash/cash_configuration.o