diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/common.hdr icon/config/unix/i386_freebsd/common.hdr *** icon.orig/config/unix/i386_freebsd/common.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/common.hdr Wed Mar 1 14:13:31 1995 *************** *** 0 **** --- 1,10 ---- + # The -D$D option to CFLAGS makes it possible to specify a definition + # at the Make command level without revising the Makefile, as + # in + # + # make D=Debug + # + D=NOTHING + CFLAGS+= -D$D + SHELL=/bin/sh + RSWITCH=rswitch.c diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/copybin.c icon/config/unix/i386_freebsd/copybin.c *** icon.orig/config/unix/i386_freebsd/copybin.c Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/copybin.c Wed Mar 1 13:54:57 1995 *************** *** 0 **** --- 1,3 ---- + #include "../../../src/h/define.h" + #include "paths.h" + #include "../Generic/copybin.h" diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/define.h icon/config/unix/i386_freebsd/define.h *** icon.orig/config/unix/i386_freebsd/define.h Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/define.h Wed Mar 1 14:24:47 1995 *************** *** 0 **** --- 1,45 ---- + /* + * Most definitions used to configure Icon source code have defaults + * that only need to be overriden in specific cases. The defaults are + * listed in the installation manual (TR 90-2). + * + * In cases where the defaults are not appropriate, alternative + * definitions should be given here. + * + * The following definitions get things off the ground. The first + * one needs changing. The last two need to be removed if co-expressions + * and arithmetic overflow checking are implemented. + * + * This comment itself should be removed when the installation is + * complete. + */ + + /* #define HostStr "unknown host" */ + /* #define NoCoexpr */ + + /* following added by clh */ + + #define Standard + #define Double + #define IconGcvt + #define GetHost + #define SysOpt + #define Hz 128 + + /* + * Do not remove the following definition. It controls many + * aspects of conditional assembly that are specific to UNIX + * systems. + */ + + #define UNIX 1 + #define FreeBSD 1 + + #define KeyboardFncs + #define HaveTioc + #define AllowConst + #define LoadFunc + #define SystemFnc + + + #define COpts "-I/usr/X11R6/include" diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/icon_pi.c icon/config/unix/i386_freebsd/icon_pi.c *** icon.orig/config/unix/i386_freebsd/icon_pi.c Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/icon_pi.c Wed Mar 1 13:54:57 1995 *************** *** 0 **** --- 1,2 ---- + #include "paths.h" + #include "../Generic/icon_pi.h" diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/iconc.hdr icon/config/unix/i386_freebsd/iconc.hdr *** icon.orig/config/unix/i386_freebsd/iconc.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/iconc.hdr Wed Mar 1 14:13:45 1995 *************** *** 0 **** --- 1,9 ---- + # The -D$D option to CFLAGS makes it possible to specify a definition + # at the Make command level without revising the Makefile, as + # in + # + # make D=Debug + # + D=NOTHING + CFLAGS+= -D$D + SHELL=/bin/sh diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/icont.hdr icon/config/unix/i386_freebsd/icont.hdr *** icon.orig/config/unix/i386_freebsd/icont.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/icont.hdr Wed Mar 1 14:13:51 1995 *************** *** 0 **** --- 1 ---- + SHELL=/bin/sh diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/iconx.hdr icon/config/unix/i386_freebsd/iconx.hdr *** icon.orig/config/unix/i386_freebsd/iconx.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/iconx.hdr Wed Mar 1 14:09:28 1995 *************** *** 0 **** --- 1,7 ---- + SHELL=/bin/sh + # the seek stuff is defined in a header file that they don't + # include. This is the easiest. -Dconst= causes const to + # be ignored. This is needed because otherwise we get complaints + # due to stdio.h defining some functions with const when they + # are not defined that way in Icon's header files + RSWITCH=rswitch.c diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/paths.h icon/config/unix/i386_freebsd/paths.h *** icon.orig/config/unix/i386_freebsd/paths.h Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/paths.h Wed Mar 1 14:10:14 1995 *************** *** 0 **** --- 1,3 ---- + #define RootPath "/usr/local" + #define IcontPath "/usr/local/bin/icont" + #define IconxPath "/usr/local/bin/iconx" diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/pi.hdr icon/config/unix/i386_freebsd/pi.hdr *** icon.orig/config/unix/i386_freebsd/pi.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/pi.hdr Wed Mar 1 14:12:59 1995 *************** *** 0 **** --- 1,2 ---- + SHELL=/bin/sh + CFLAGS+=-DPersInterp diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/preproc.hdr icon/config/unix/i386_freebsd/preproc.hdr *** icon.orig/config/unix/i386_freebsd/preproc.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/preproc.hdr Wed Mar 1 14:10:53 1995 *************** *** 0 **** --- 1,10 ---- + # The -D$D option to CFLAGS makes it possible to specify a definition + # at the Make command level without revising the Makefile, as + # in + # + # make D=Debug + # + D=NOTHING + CC=cc + CFLAGS+= -O -D$D + SHELL=/bin/sh diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/rswitch.c icon/config/unix/i386_freebsd/rswitch.c *** icon.orig/config/unix/i386_freebsd/rswitch.c Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/rswitch.c Wed Mar 1 13:54:57 1995 *************** *** 0 **** --- 1,28 ---- + /* + * This is the co-expression context switch for the Intel 80386 + * under Microport Unix System V/386 + */ + + /* + * 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("interp() returned in coswitch"); + } + else { + asm(" movl 0(%eax),%esp"); + asm(" movl 4(%eax),%ebp"); + } + } diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/rtt.hdr icon/config/unix/i386_freebsd/rtt.hdr *** icon.orig/config/unix/i386_freebsd/rtt.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/rtt.hdr Wed Mar 1 14:11:31 1995 *************** *** 0 **** --- 1,2 ---- + CFLAGS+= -DTokDotH="\"../rtt/ltoken.h\"" + SHELL=/bin/sh diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/runtime.hdr icon/config/unix/i386_freebsd/runtime.hdr *** icon.orig/config/unix/i386_freebsd/runtime.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/runtime.hdr Wed Mar 1 14:11:39 1995 *************** *** 0 **** --- 1 ---- + SHELL=/bin/sh diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/setpath.c icon/config/unix/i386_freebsd/setpath.c *** icon.orig/config/unix/i386_freebsd/setpath.c Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/setpath.c Wed Mar 1 13:54:57 1995 *************** *** 0 **** --- 1,2 ---- + #include "paths.h" + #include "../Generic/setpath.h" diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/status icon/config/unix/i386_freebsd/status *** icon.orig/config/unix/i386_freebsd/status Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/status Wed Mar 1 20:12:03 1995 *************** *** 0 **** --- 1,28 ---- + System configuration: + + Intel 386-type processor running FreeBSD-2.0 + + Latest Icon version: + + Version 9.0 + + Installer: + + Thomas Gellekum + + + Missing features: + + All normally defined features are present, including + co-expressions. I believe the missing features are + executable image saving and calling Icon from C. + + Known bugs: + + None. + + Comments: + + Date: + + March 01, 1995 diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/vt.hdr icon/config/unix/i386_freebsd/vt.hdr *** icon.orig/config/unix/i386_freebsd/vt.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/vt.hdr Wed Mar 1 14:12:05 1995 *************** *** 0 **** --- 1,2 ---- + SHELL=/bin/sh + CFLAGS+= -DVarTran diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/vtran.hdr icon/config/unix/i386_freebsd/vtran.hdr *** icon.orig/config/unix/i386_freebsd/vtran.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/vtran.hdr Wed Mar 1 14:12:12 1995 *************** *** 0 **** --- 1,2 ---- + SHELL=/bin/sh + CFLAGS+= -DVarTran diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/xiconx.mak icon/config/unix/i386_freebsd/xiconx.mak *** icon.orig/config/unix/i386_freebsd/xiconx.mak Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/xiconx.mak Wed Mar 1 14:16:38 1995 *************** *** 0 **** --- 1,3 ---- + # If you define EventMon, add the -lgmon below to get profil(2) under Linux + #XLIB= -lX11 -lgmon + XLIB= -L/usr/X11R6/lib -lX11 diff -crP -x bin -x docs -x tests icon.orig/config/unix/i386_freebsd/xpm.hdr icon/config/unix/i386_freebsd/xpm.hdr *** icon.orig/config/unix/i386_freebsd/xpm.hdr Thu Jan 1 01:00:00 1970 --- icon/config/unix/i386_freebsd/xpm.hdr Wed Mar 1 14:12:26 1995 *************** *** 0 **** --- 1 ---- + DEFINES= -DZPIPE