scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

sys-scc.h (537B)


      1 #define LDBIN "ld"
      2 #define ASBIN "as"
      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 	"-o", "%o",
     30 	NULL
     31 };