sys-scc_clang.h (575B)
1 #define LDBIN "ld.lld" 2 #define ASBIN "clang" 3 4 /* configure below your standard sys include paths */ 5 char *sysincludes[] = { 6 "%p/include/bits/%a/", 7 "%p/include/bits/%s/", 8 "%p/include/bits/%s/%a/", 9 "%p/include/", 10 NULL 11 }; 12 13 /* configure below your system linker command line */ 14 char *ldcmd[] = { 15 "-static", 16 "-z","nodefaultlib", 17 %NOPIE% 18 "-o","%o", 19 "-L","%p/lib/scc/%a-%s", 20 "%p/lib/scc/%a-%s/crt.o", 21 "%c", 22 "-lc", 23 "-lcrt", 24 NULL 25 }; 26 27 /* configure below your system assembler command line */ 28 char *ascmd[] = { 29 "-x","assembler", 30 "-c", 31 "-o","%o", 32 "-", 33 NULL 34 };