??? 09/08/05 20:05 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#100835 - _sdcc_external_startup() Responding to: ???'s previous message |
Raj,
Where's your implementation of _sdcc_external_startup() ? If you do not provide it, don't expect it to just do what you want. What's happening is that SDCC is setting up he C runtime. If you don't need xdata, you can use --no-xinit-opt to reduce the code somewhat. If your _sdcc_external_startup() returns non-zero it will not initialize data memory nor global and static variables. But that doesn't mean there won't be code generated for that! And why are you suddenly comparing Keil and SDCC by their startup code if you intend to create a library? Why are you comparing footprints at all? Isn't that upto the future user? Here is my final attempt, if it fails; will stick to Keil. What failed in your opinion? My guess is this will do exactly what you wanted: Set P0 to 0xAA and loop forever. |
Topic | Author | Date |
Compatibility - ".LIB" files | 01/01/70 00:00 | |
Library Files | 01/01/70 00:00 | |
SDCC.LIB | 01/01/70 00:00 | |
thanks, but a major hurdle to cross :o( | 01/01/70 00:00 | |
easy as pie. use "dir" to make a list o | 01/01/70 00:00 | |
Easier Still | 01/01/70 00:00 | |
Naah | 01/01/70 00:00 | |
hard? | 01/01/70 00:00 | |
downloaded the Setup file :o) | 01/01/70 00:00 | |
What's the problem? | 01/01/70 00:00 | |
edit startup file for SDCC | 01/01/70 00:00 | |
same question, same answer as below | 01/01/70 00:00 | |
SDCC startup | 01/01/70 00:00 | |
hex-file? | 01/01/70 00:00 | |
edit startup file for SDCC | 01/01/70 00:00 | |
same question, same answer as above | 01/01/70 00:00 | |
sorry for the double entires | 01/01/70 00:00 | |
I can not say for sure, but another comp | 01/01/70 00:00 | |
SDCC main.c results | 01/01/70 00:00 | |
_sdcc_external_startup() | 01/01/70 00:00 | |
exactly!![]() | 01/01/70 00:00 |