Mercurial > hg > xemacs-beta
diff src/s/irix5-1.h @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:28:15 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/s/irix5-1.h Mon Aug 13 11:28:15 2007 +0200 @@ -0,0 +1,32 @@ +/* Synched up with: Not in FSF. */ + +/* by Hayden Schultz <haydens@ll.mit.edu> for XEmacs */ + +#ifndef IRIX5_1_H +#define IRIX5_1_H + +#include "irix5-0.h" + +/* #### Questionable defines. */ +#define IRIX +#define IRIS + +/* XEmacs change */ +#if 0 +#define LD_SWITCH_SYSTEM "-elf -_SYSTYPE_SVR4 -require_dynamic_link _rld_new_interface -no_unresolved -Wx,-G 0 -L. -L./lwlib -g0 -call_shared -transitive_link" +#endif + +/* By Tor Arntsen <tor@spacetec.no> for XEmacs. + With the following kludge the above LD_SWITCH_SYSTEM will still work just + fine even with USE_GCC, and additional tweaking of config.h or ymakefile + is avoided. */ +#ifdef NOT_C_CODE +# ifdef USE_GCC +# undef LINKER +# undef LIB_GCC +# define LINKER "ld" +# define LIB_GCC "`gcc --print`" +# endif +#endif + +#endif /* IRIX5_1_H */