How to force GLIBC to use crti.o crtn.o crtbegin crtend from GCC ?

Mike Frysinger vapier@gentoo.org
Thu Jan 14 06:30:38 GMT 2021


On 31 Mar 2020 13:30, William Tambe via Libc-help wrote:
> On Tue, Mar 31, 2020 at 1:28 PM William Tambe <tambewilliam@gmail.com> wrote:
> > How to force GLIBC to use crti.o crtn.o crtbegin crtend from GCC
> > instead of its version ?
> 
> Our port of GCC already generates  crti.o crtn.o crtbegin crtend, and
> we would like for GLIBC to use those files from GCC instead of
> building its own version.
> How can we implement that in GLIBC ?

your gcc specs control this, not glibc.

that said, you really shouldn't be trying to override glibc's crt[in].o.
no one else does, so you're in unsupported territory.  which is probably
why no one responded before ;).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/libc-help/attachments/20210114/dda67d92/attachment.sig>


More information about the Libc-help mailing list