Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using main and not _start is required by the gcc linker, any other symbol name will not work!.

Not really; while main is default, -e flag allows you to specify an arbitrary symbol as entry point.



AFAIK it's -e, not -E.


I should mention that. Thank you.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: