-main

Sets the main entry point for the application or shared library.

Syntax
  -m[ain] symbol
  
  
Remarks

The maximum length of symbol is 63 characters. The default is __start. To specify the no entry point, use:

  -main ""
  
  

This is a linker option.