home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!charon.amdahl.com!netcomsv!netcom.com!thinman
- From: thinman@netcom.com (Technically Sweet)
- Subject: Scheme->C port report
- Message-ID: <1993Jan28.020308.151@netcom.com>
- Organization: International Foundation for Internal Freedom
- Date: Thu, 28 Jan 1993 02:03:08 GMT
- Lines: 40
-
- Hi folks,
-
- I port the DEC Research Scheme-to-C compiler to bsd386.
- Scheme is a miniature version of LISP; this implementation
- has an interpreter and a compiler. I use it a lot.
-
- I've got all of patchkit 0.2 installed except for the
- 3-digit ones which are all dicey anyway.
-
- Problem #1: vmparam.h is not in /usr/include/sys.
- It's only off in the kernel sources. s2c uses USRSTACK
- from that file.
-
- Problem #2: gcvt() and its friends ecvt & fcvt aren't
- in the math library. These are double-to-string converters
- with more formatting control than sprintf gives.
- s2c runs on many platforms and they all have the ?cvt routines.
-
- Problem #3: some of the floating point tests don't work.
- They do work on my at&t 386 system v.3.2 system.
- However, the latter is on a 486/33 and the bsd386 is
- on a 386/20 with an IIT 387-alike.
-
- Problem #4: A memory allocation-thrasher program causes
- the kernel to reboot.
- "vm_pagefault" gibberish - a few seconds of a message - reboot.
- I don't know enough to gdb the kernel.
-
- And a question: Scheme does threads by copying around
- versions of the program stack. Has anyone done a nice
- thread system for bsd386? Don't mmap() and the signal
- stack allow you to do this?
-
- Comments?
-
- --
-
- Lance Norskog
- thinman@netcom.com
- Data is not information is not knowledge is not wisdom.
-