logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

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. /* clear preprocessor GNU C version */
  7. "-U", "__GNUC__",
  8. "-U", "__GNUC_MINOR__",
  9. /* we don't yet support these optional features */
  10. "-D", "__STDC_NO_ATOMICS__",
  11. "-D", "__STDC_NO_COMPLEX__",
  12. "-D", "__STDC_NO_VLA__",
  13. "-U", "__SIZEOF_INT128__",
  14. /* we don't generate position-independent code */
  15. "-U", "__PIC__",
  16. /* ignore attributes and extension markers */
  17. "-D", "__attribute__(x)=",
  18. "-D", "__extension__=",
  19. };
  20. static const char *const codegencmd[] = {"qbe"};
  21. static const char *const assemblecmd[] = {"as"};
  22. static const char *const linkcmd[] = {"ld", "--dynamic-linker", "/lib/ld-musl-x86_64.so.1"};