head 1.1; access; symbols OPENPKG_E1_MP_HEAD:1.1 OPENPKG_E1_MP:1.1 OPENPKG_E1_MP_2_STABLE:1.1 OPENPKG_E1_FP:1.1 OPENPKG_2_STABLE_MP:1.1 OPENPKG_2_STABLE_20061018:1.1 OPENPKG_2_STABLE_20060622:1.1 OPENPKG_2_STABLE:1.1.0.16 OPENPKG_2_STABLE_BP:1.1 OPENPKG_2_5_RELEASE:1.1 OPENPKG_2_5_SOLID:1.1.0.14 OPENPKG_2_5_SOLID_BP:1.1 OPENPKG_2_4_RELEASE:1.1 OPENPKG_2_4_SOLID:1.1.0.12 OPENPKG_2_4_SOLID_BP:1.1 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.10 OPENPKG_2_3_SOLID_BP:1.1 OPENPKG_2_2_RELEASE:1.1 OPENPKG_2_2_SOLID:1.1.0.8 OPENPKG_2_2_SOLID_BP:1.1 OPENPKG_2_1_RELEASE:1.1 OPENPKG_2_1_SOLID:1.1.0.6 OPENPKG_2_1_SOLID_BP:1.1 OPENPKG_2_0_RELEASE:1.1 OPENPKG_2_0_SOLID:1.1.0.4 OPENPKG_2_0_SOLID_BP:1.1 OPENPKG_1_3_RELEASE:1.1.2.1 OPENPKG_1_3_SOLID:1.1.2.1.0.2 OPENPKG_1_3_SOLID_BP:1.1.2.1 OPENPKG_1_STABLE_MP:1.1 OPENPKG_1_STABLE:1.1.0.2; locks; strict; comment @# @; 1.1 date 2003.07.28.18.12.34; author rse; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2003.07.29.10.11.38; author rse; state Exp; branches; next ; desc @@ 1.1 log @add back Solaris/x86 support from older Icon 9.3 @ text @--- /dev/null Thu Jan 1 01:00:00 1970 +++ config/intel_solaris/Makedefs Mon Jul 28 19:54:54 2003 @@@@ -0,0 +1,19 @@@@ +# CC C compiler +# CFLAGS flags for building C files +# CFDYN additional flags for dynamic functions +# RLINK flags for linking run-time system +# RLIBS libraries to link with run-time system +# TLIBS libraries to link for POSIX threads +# XLIBS libraries to link for graphics +# XPMDEFS definitions for building XPM library +# GDIR directory of graphics helper library + +CC = gcc +CFLAGS = -O -I/usr/openwin/include +CFDYN = -fPIC +RLINK = +RLIBS = -lm -ldl +TLIBS = -lposix4 -lpthread +XLIBS = -L /usr/openwin/lib -Xlinker -R/usr/openwin/lib -lX11 +XPMDEFS = -DZPIPE -DSYSV +GDIR = xpm --- /dev/null Thu Jan 1 01:00:00 1970 +++ config/intel_solaris/define.h Mon Jul 28 19:54:54 2003 @@@@ -0,0 +1,10 @@@@ +/* + * Icon configuration file for Sun 4 running Solaris 2.x with Cygnus gcc + */ + +#define UNIX 1 +#define LoadFunc + +/* use gcc to compile generated code */ +#define CComp "gcc" +#define COpts "-I/usr/openwin/include -ldl" --- /dev/null Thu Jan 1 01:00:00 1970 +++ config/intel_solaris/rswitch.c Mon Jul 28 19:55:32 2003 @@@@ -0,0 +1,28 @@@@ +/* + * This is the co-expression context switch for the Intel 80386 + * under Solaris. + */ + +/* + * coswitch + */ + +coswitch(old_cs, new_cs, first) +int *old_cs, *new_cs; +int first; + { + asm(" movl 8(%ebp),%eax"); + asm(" movl %esp,0(%eax)"); + asm(" movl %ebp,4(%eax)"); + asm(" movl 12(%ebp),%eax"); + if (first == 0) { /* this is the first activation */ + asm(" movl 0(%eax),%esp"); + asm(" movl $0,%ebp"); + new_context(0, 0); + syserr("new_context() returned in coswitch"); + } + else { + asm(" movl 0(%eax),%esp"); + asm(" movl 4(%eax),%ebp"); + } + } --- /dev/null Thu Jan 1 01:00:00 1970 +++ config/intel_solaris/status Mon Jul 28 19:55:32 2003 @@@@ -0,0 +1,1 @@@@ +This is from Icon 9.3.2's config/intel_solaris/. @ 1.1.2.1 log @MFC: all changes since last merge @ text @@