cvs commit: src/contrib/gcc3 crtstuff.c src/gnu/lib/gcc3 Makefile Makefile.inc src/gnu/lib/gcc3/csu Makefile

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jan 21 14:34:09 PST 2004


On Wed, Jan 21, 2004 at 02:26:44PM -0800, Matthew Dillon wrote:
> :Pretty sure. The crtbeginS.o is at least 140 byte large.
> :
> :Joerg
> 
>     Ok.  I see that gcc2 has a lib/csu too.  I guess /usr/src/lib/csu is 
>     different.

src/lib/csu is the basic support needed e.g. to setup environment.
This is libc specific and compiler independent.

>     It looks like the ld scripts combine the common csu (crt1, crti, etc)
>     with the per-gcc csu (crtbegin, etc).

It's gcc when used to link. crtbegin and crtend are used for the
C++ constructor support and other per-file initializers. After
both compilers are in place and working, src/gnu/lib/csu can be
removed.

Joerg

> 
> 						-Matt
> 
> 





More information about the Commits mailing list