sys-scc.h - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
sys-scc.h (574B)
---
1 #define LDBIN "ld"
2 #define ASBIN "as"
3 #define QBEBIN "qbe"
4
5 /* configure below your standard sys include paths */
6 char *sysincludes[] = {
7 "%p/include/scc/bits/%a/",
8 "%p/include/scc/bits/%s/",
9 "%p/include/scc/bits/%s/%a/",
10 "%p/include/scc/",
11 NULL
12 };
13
14 /* configure below your system linker command line */
15 char *ldcmd[] = {
16 "-static",
17 "-z","nodefaultlib",
18 %NOPIE%
19 "-o","%o",
20 "-L","%p/lib/scc/%a-%s",
21 "%p/lib/scc/%a-%s/crt.o",
22 "%c",
23 "-lc",
24 "-lcrt",
25 NULL
26 };
27
28 /* configure below your system assembler command line */
29 char *ascmd[] = {
30 "-o", "%o",
31 NULL
32 };