This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: And now what???


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]