This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Complete Assembly language projects in Keil RVDMK IDE

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.

0