how to get rid of __main

Alan Modra alan@linuxcare.com.au
Sun Feb 11 02:54:00 GMT 2001


On Sat, 10 Feb 2001, [ISO-8859-1] Günter Knauf wrote:

> I discovered an important difference between Linux gcc and Win32 gcc
> which prevents nlmconv from sucessful linking: on Win32 gcc always puts
> in __main, not only with C++.

This is done by gcc.  Search for __main in gcc/gcc/tm.texi, and read the
section.

-- 
Linuxcare.  Support for the Revolution.



More information about the Binutils mailing list