I'm using armcc
and armlink
to compile and link my program. After compiling source codes I tried to link them with armlink
command, but I got this error:
Fatal error: ./Release/Source/BookCity/bookcity_Protocol.o has the opposite byte
order to the preceding objects.
What does this error means? How can I change byte ordering in armcc
?
Here is my linking command:
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