public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* __main
@ 2002-08-29 11:25 Robert Spanton
  2002-08-29 11:40 ` __main Fergus Henderson
  0 siblings, 1 reply; 18+ messages in thread
From: Robert Spanton @ 2002-08-29 11:25 UTC (permalink / raw)
  To: gcc

Why is it that when i compile the following code (using the -S switch) under
windows, GCC outputs an assembly file containing the symbol "__main" (two
underscores) AND the symbol "_main" (one underscore) - whereas when i
compile it under unix or bsd, it only contains the symbol "_main" (one
underscore). Why do the unix and bsd versions not output the symbol
"__main"?

Code:

int main()
{
return 0;
}


Robert

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2002-09-04 11:03 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 11:25 __main Robert Spanton
2002-08-29 11:40 ` __main Fergus Henderson
2002-08-29 22:18   ` __main Mike Laman
2002-09-01  9:04     ` __main Fergus Henderson
2002-09-01 13:14       ` __main Mike Laman
2002-09-01 13:22         ` __main Mike Laman
2002-09-01 13:40           ` __main Robert Spanton
2002-09-02  4:26             ` __main Lars Brinkhoff
2002-09-02  5:29           ` __main Ian Dall
2002-09-02 19:08             ` __main Mike Laman
2002-09-01 22:56         ` __main Fergus Henderson
2002-09-02  3:36           ` __main Mike Laman
2002-09-02  5:51             ` __main Fergus Henderson
2002-09-02 19:06               ` __main Mike Laman
2002-09-03 14:03                 ` __main Fergus Henderson
2002-09-03 14:21                   ` __main Neil Booth
2002-09-04  4:03                     ` __main Richard Earnshaw
2002-09-02 19:37     ` __main Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).