Hi I have a mini6410 board. I want to compile the bare-metal demo project (in companion CD) with GNU toolchain. I used the following command: arm-none-eabi-gcc -mcpu=arm1176jzf-s -combine main.c utils.c startup.s -lc -entry=_main -o test.bin but i got an error with the assembly (startup.s) reading: BAD INSTRUCTION Do you have any idea? When I remove startup.s from the command line It compiles successfully. But I assume startup.s must be included!
How to compile demo project?
Hi I have exactly the same problem Hamed ! I use WinARM to compile (arm-gcc), with Makefile, but when I start compilation.... startup.s : bad instruction. It is as Gcc don't understand .s as asembler file. I don't understand why! Startup.s is essential ... What's wrong ? Have you find solution ? Regards, Paul Sorry for my english :-/