view src/s/sco5-shr.h @ 2666:7bf1f40e6acb

[xemacs-hg @ 2005-03-15 11:56:32 by crestani] * alloc.c: Dynamically allocate KKCC backtrace stack and some minor typo-fixes for KKCC functions. * alloc.c (lispdesc_indirect_count_1): Condition kkcc_backtrace on DEBUG_XEMACS. * alloc.c (kkcc_bt_init): New. * alloc.c (kkcc_bt_stack_realloc): New. * alloc.c (kkcc_bt_free): New. * alloc.c (kkcc_bt_push): If stack size is exhausted, realloc the stack. * alloc.c (kkcc_marking): Init and free backtrace stack.
author crestani
date Tue, 15 Mar 2005 11:56:35 +0000
parents 3ecd8885ac67
children
line wrap: on
line source

/* Synched up with: Not in FSF. */

#include "sco5.h"

/* XEmacs change. */
#undef LINKER
#undef C_OPTIMIZE_SWITCH
#undef C_DEBUG_SWITCH
#undef C_SWITCH_SYSTEM

#ifndef __GNUC__
#define LINKER "cc -belf -dy -Xc"
#define C_OPTIMIZE_SWITCH "-O3 -Xc"
#define C_DEBUG_SWITCH "-g -Xc"
#define C_SWITCH_SYSTEM "-belf -D_NO_STATIC -D_SCO_ELF"
#else
#define LINKER "gcc -melf -Xc"
#define C_OPTIMIZE_SWITCH "-O99 -m486 -fomit-frame-pointer -Xc"
#define C_DEBUG_SWITCH "-g -Xc"
#define C_SWITCH_SYSTEM "-melf -D_NO_STATIC -D_SCO_ELF"
#endif