From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Spanton" To: Subject: __main Date: Thu, 29 Aug 2002 11:25:00 -0000 Message-id: <002f01c24f89$6ad6efa0$0a00000a@zarquin> X-SW-Source: 2002-08/msg01917.html 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