From fc5e3fae2fb5967593753b4bf3b822d256dd1f9c Mon Sep 17 00:00:00 2001 From: Sunny-Maxis Date: Thu, 13 Nov 2025 22:47:48 -0500 Subject: [PATCH] IRIX basics from Raion added --- os/irix/cconfig.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 os/irix/cconfig.h diff --git a/os/irix/cconfig.h b/os/irix/cconfig.h new file mode 100644 index 00000000..f4950e38 --- /dev/null +++ b/os/irix/cconfig.h @@ -0,0 +1,20 @@ +/* common cpp predefines */ +#define CPPADD { "-Dunix", "-Dsgi", "-D__SVR4", "-D__unix", "-D__sgi", "-D__ELF__", NULL } + +/* host-dependent */ +#define CRT0 "crt1.o" +#define CRTBEGIN 0 +#define CRTEND 0 +#define CRTI 0 +#define GCRT0 0 +#define RCRT0 0 + +/* host-independent */ +#define DYNLINKARG "-Bdynamic" +#define DYNLINKLIB "/lib32/rld" + +#if defined(mach_mips) +#define CPPMDADD { "-D__mips__", NULL, } +#else +#error defines for arch missing +#endif