Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Embedded development
(Moderator:
killerbot
) »
How to change crt0.S to my init code in this codeblocks tool?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to change crt0.S to my init code in this codeblocks tool? (Read 9924 times)
mmkider
Almost regular
Posts: 150
How to change crt0.S to my init code in this codeblocks tool?
«
on:
September 25, 2008, 09:11:06 am »
codeblock link crt0.s by default.
If I want change start code(crt0.s),how to change option in this codeblocks?
thx
Logged
mariocup
Guest
Re: How to change crt0.S to my init code in this codeblocks tool?
«
Reply #1 on:
September 25, 2008, 09:22:15 am »
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
Logged
mmkider
Almost regular
Posts: 150
Re: How to change crt0.S to my init code in this codeblocks tool?
«
Reply #2 on:
September 25, 2008, 11:15:22 am »
thx
I key -nostartfiles in other linker option,it's ok.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Embedded development
(Moderator:
killerbot
) »
How to change crt0.S to my init code in this codeblocks tool?