how to change the entry point in gcc
View Single Post
Changing the entry point of a C program to anything other than main() fails ALL "elegance" tests. The best you can achieve is an ugly hack.
What's wrong with the -e option? Why doesn't it do what you want?