logoalt Hacker News

direwolf20today at 10:01 AM1 replyview on HN

It doesn't link. Something about undefined symbol _main. Can you help?


Replies

9rxtoday at 10:59 AM

It doesn't need to link. That is the complete program. Are you suggesting I need to pass a flag to the C++ compiler to disable the linker? How do I do that?