diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-17 21:29:23 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-17 21:29:23 -0700 |
commit | c683dbd6e4da3a6aba22779c99810f8684c38208 (patch) | |
tree | 445d6667bc407200023c2e59b8add4f18f68828b | |
parent | b8235a9576184618108ec3c1f6c6ad7eaaecb28c (diff) | |
download | cproc-c683dbd6e4da3a6aba22779c99810f8684c38208.tar.xz |
config.def.h: Add note about crtbegin.o and crtend.o
-rw-r--r-- | config.def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index c8304df..a43260b 100644 --- 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", |