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.