And now what???

Kenneth Porter kenneth_porter@kensingtonlabs.com
Sat Apr 1 00:00:00 GMT 2000


On Tue, 08 Feb 2000 10:54:55 -0600, William Gatliff wrote:

> I had the same problem about a year ago, and concluded that, for some reason, GCC
> creates a call to _main to initialize the C++ environment.  I don't recall all of
> the details, so ymmv.

_main invokes constructors for C++ static objects. In WinDOS compilers,
this is typically done by the startup code that calls main.

Kenneth Porter
Kensington Laboratories, Inc.
mailto:kenneth_porter@kensingtonlabs.com
http://www.kensingtonlabs.com



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list