User forums > Embedded development

How to change crt0.S to my init code in this codeblocks tool?

(1/1)

mmkider:
codeblock link crt0.s by default.
If I want change start code(crt0.s),how to change option in this codeblocks?


thx :P

mariocup:
Hi mmkider,

if you do not want to link the startup code crt0.s by default then you will have to pass the linker options -nocrt0 and the the compiler option -nostartfiles.

Bye,

Mario

mmkider:
thx

I key -nostartfiles in other linker option,it's ok.
 :D

Navigation

[0] Message Index

Go to full version