aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/config.def.h b/config.def.h
deleted file mode 100644
index 2c87cdd..0000000
--- a/config.def.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef DYNAMICLINKER
-#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",
-};
-static char *endfiles[] = {
- "-l", ":crtn.o",
- "-l", "c",
-};
-
-static char *preprocesscmd[] = {
- "cpp", "-P",
-
- /* we don't yet support these optional features */
- "-D", "__STDC_NO_ATOMICS__",
- "-D", "__STDC_NO_COMPLEX__",
- "-D", "__STDC_NO_VLA__",
-
- /* specify the GNU C extensions we support */
- "-U", "__GNUC__", "-D", "__GNUC__=1",
- "-U", "__GNUC_MINOR__", "-D", "__GNUC_MINOR__=0",
-
- /* prevent glibc from using statement expressions for assert */
- "-D", "__STRICT_ANSI__",
-
- /* ignore attributes and extension markers */
- "-D", "__attribute__(x)=",
- "-D", "__extension__=",
-
- /* alternate keywords */
- "-D", "__alignof__=_Alignof",
- "-D", "__inline=inline",
- "-D", "__inline__=inline",
- "-D", "__signed__=signed",
- "-D", "__thread=_Thread_local",
-};
-static char *codegencmd[] = {"qbe"};
-static char *assemblecmd[] = {"as"};
-static char *linkcmd[] = {"ld", "--dynamic-linker=" DYNAMICLINKER};