Home
       sys-musl.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-musl.h (644B)
       ---
            1 #define LDBIN "ld"
            2 #define ASBIN "as"
            3 
            4 /* configure below your standard sys include paths */
            5 char *sysincludes[] = {
            6         "%p/include/",
            7         NULL
            8 };
            9 
           10 /* configure below your system linker command line */
           11 #define GCCLIBPATH "/usr/lib/gcc/x86_64-unknown-linux-gnu/10.2/"
           12 
           13 char *ldcmd[] = {
           14         "-static",
           15         "-z","nodefaultlib",
           16         %NOPIE%
           17         "-o","%o",
           18         "-L","%p/lib/",
           19         "-L",GCCLIBPATH,
           20         "%p/lib/Scrt1.o",
           21         "%p/lib/crti.o",
           22         GCCLIBPATH "crtbeginS.o",
           23         "%c",
           24         GCCLIBPATH "crtendS.o",
           25         "%p/lib/crtn.o",
           26         "-lc",
           27         "-lgcc",
           28         "-lgcc_eh",
           29         NULL
           30 };
           31 
           32 /* configure below your system assembler command line */
           33 char *ascmd[] = {
           34         "-o", "%o",
           35         NULL
           36 };