Issue with main function expansion and Ada

Mike Stump mrs@apple.com
Sat Mar 25 08:43:00 GMT 2006


On Mar 24, 2006, at 3:40 AM, Nicolas Roche wrote:
> Using DECL_ASSEMBLER_NAME instead of DECL_NAME solves the issue as  
> the exported name of that function will be "main".

Careful; on some systems name it _main.  But on others, you don't  
want _main.



More information about the Gcc-patches mailing list