More GCC link time issues: undefined reference to main
I'm writing software for a Cortex-A8 processor and I have to write some ARM assembly code to access specific registers. I'm making use of the gnu compilers and related tool chains, these tools are installed on the processor board(Freescale i.MX515) with Ubuntu. I make a connection to it from my host PC(Windows) using WinSCP and the PuTTY terminal. As usual I started with a simple C project having main.c and functions.s . I compile the main.c using GCC , assemble the functions.s using as and link the generated object files using once again GCC , but I get strange errors during this process. An