COMPILING 516 B

12345678910111213
  1. You can recompile this on a TIGCC system by patching the system <default.h>
  2. include file and replacing the line:
  3. #define __ATTR_LIB_C__ __attribute__((__regparm__(4)))
  4. with the lines
  5. #ifdef REGPARM1_STDLIB
  6. #define __ATTR_LIB_C__ __attribute__((__regparm__(1)))
  7. #define CONFIRM_REGPARM1_ENABLED
  8. #else
  9. #define __ATTR_LIB_C__ __attribute__((__regparm__(4)))
  10. #endif
  11. This has been tested with TIGCC 0.94SP4. Newer versions will likely require
  12. adaptation of this source code and/or toolchain.