Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNo, I didn't, thanks for the hint!
I am using the -nostartfiles flag now and provide my own crt0.S file. That just works fine and according to the linker, program size (code + initialized data) remains the same (196 bytes). I am using hello_led example for testing and changed the function name “alt_main” to “start_main”. There is just a minor difference in size of the elf file (3901 to 3473 bytes) which I do not know where it possibly could come from. --wolf