sys-scc_clang.h - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
sys-scc_clang.h (590B)
---
1 #define LDBIN "ld.lld"
2 #define ASBIN "clang"
3
4 /* configure below your standard sys include paths */
5 char *sysincludes[] = {
6 "%p/include/scc/bits/%a/",
7 "%p/include/scc/bits/%s/",
8 "%p/include/scc/bits/%s/%a/",
9 "%p/include/scc",
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 };