opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

config.h (891B)


      1 static const char target[]         = "x86_64-linux-musl";
      2 static const char *const startfiles[]    = {"-l", ":crt1.o", "-l", ":crti.o"};
      3 static const char *const endfiles[]      = {"-l", "c", "-l", ":crtn.o"};
      4 static const char *const preprocesscmd[] = {
      5 	"cpp",
      6 
      7 	/* clear preprocessor GNU C version */
      8 	"-U", "__GNUC__",
      9 	"-U", "__GNUC_MINOR__",
     10 
     11 	/* we don't yet support these optional features */
     12 	"-D", "__STDC_NO_ATOMICS__",
     13 	"-D", "__STDC_NO_COMPLEX__",
     14 	"-D", "__STDC_NO_VLA__",
     15 	"-U", "__SIZEOF_INT128__",
     16 
     17 	/* we don't generate position-independent code */
     18 	"-U", "__PIC__",
     19 
     20 	/* ignore attributes and extension markers */
     21 	"-D", "__attribute__(x)=",
     22 	"-D", "__extension__=",
     23 };
     24 static const char *const codegencmd[]    = {"qbe"};
     25 static const char *const assemblecmd[]   = {"as"};
     26 static const char *const linkcmd[]       = {"ld", "--dynamic-linker", "/lib/ld-musl-x86_64.so.1"};