STM32F103 startup code using only c
I want to know startup code only c code.
I am remove device-startup and
only main() function implemented and build.
but build out = error.
Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.
Error: L6218E: Undefined symbol __main (referred from anon$$obj.o).
Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
please help me.
I want answer or example startup code.