Re: crtbegin.o crtend.o

2007-07-10 Thread Sunzir Deepur
On 10 Jul 2007 09:51:14 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: "Sunzir Deepur" <[EMAIL PROTECTED]> writes: > What files are the sources of crtbegin.o and crtend.o ? The single file gcc/crtstuff.c. > What's their purposes ? To ensure that global constructors and destructors are run

Re: crtbegin.o crtend.o

2007-07-10 Thread Ian Lance Taylor
"Sunzir Deepur" <[EMAIL PROTECTED]> writes: > What files are the sources of crtbegin.o and crtend.o ? The single file gcc/crtstuff.c. > What's their purposes ? To ensure that global constructors and destructors are run at the appropriate times (i.e., before main and after exit, respectively).

crtbegin.o crtend.o

2007-07-10 Thread Sunzir Deepur
Hi all, What files are the sources of crtbegin.o and crtend.o ? What's their purposes ? thank you sunzir