I have a very large project that compiles and runs just fine with GCC. We wanted to move to the RVDS compiler but when I compile I get this error during the linking phase:
The problem is that we don’t have a “kernel.c” in our project. I looked through the map file and found this:
So the ARM compiler’s kernel.o is being pulled into the project. This doesn’t happen if I build any of the samples I’ve tested! And again, this code compiles just fine with GCC. Does anyone know what I’m doing to cause the RVDS compiler to pull in a part of kernel.o that requires a main() function?