This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issue with main function expansion and Ada


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]