Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions os/irix/cconfig.h
Original file line number Diff line number Diff line change
@@ -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