Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit c683dbd6e4da3a6aba22779c99810f8684c38208
parent b8235a9576184618108ec3c1f6c6ad7eaaecb28c
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 17 Apr 2019 21:29:23 -0700

config.def.h: Add note about crtbegin.o and crtend.o

Mconfig.def.h | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -2,6 +2,13 @@ #define DYNAMICLINKER "/lib64/ld-linux-x86-64.so.2" #endif +/* +glibc systems might need crtbegin.o at the end of `startfiles` and +crtend.o at the beginning of `endfiles`. These are provided by gcc and +not usually in the linker's default search path, so we just leave it to +the user to configure as needed. +*/ + static char *startfiles[] = { "-l", ":crt1.o", "-l", ":crti.o",