I don't want to use STMCubeMX.If I select ARMCM4 as target from ARM devices, then there is startup component. Give me a solution for this.
STM32CubeMX is the solution to generate the initialization code for these devices:
https://www.st.com/en/development-tools/stm32cubemx.html
Why do you not wish to use this?
Otherwise you would need to create your initialization code manually. You can use default examples such as that for ARMCM4 as a reference.