We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have tried to create a project using Keil RVDMK 4.0 for ARM7. The project contains only assembly (.s) files but not C source files. The files are:
startup.s -- Custom startup code. app.s -- Application
At the end, the startup.s file contains: IMPORT main LDR R0, main BX R0
When compiled, below error is thrown out by the compiler.
asm.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.
1. Though, I am not using any C-library, why it is looking for __main? 2. How to fix this problem to enable me have only assembly files in my project?
Any help is truly appreciated.
Regards, Murthy.
Missed to mention, the startup.s file is customized to branch to application main by:
IMPORT main LDR R0, main BX R0
The app.s file contains the subroutine with label "main".
www.keil.com/.../armlinkref_CHDDDJFB.htm
Thanks a lot Mike.