Commit f27ec451 authored by Erick Gallesio's avatar Erick Gallesio

.

parent f596d2ba
2006-04-15 Erick Gallesio <eg@essi.fr>
* utils/stklos-config.in: Added the option --threads to know what
thread system is compiled in.
2006-04-14 Stephane Epardaud <Stephane.Epardaud@sophia.inria.fr>
* Threads Merging:
Added --enable-threads={none,lurc,pthreads} to configure
Added support for no threads and lurc threads.
Basic srfi-18 support extended for lurc, plus lurc.stk for additionnal
functions.
New GC with lurc support.
Examples in examples/thread.stk
boot.stk now generated in configure
callcc.stk out of r5rs.stk
2006-04-13 Erick Gallesio <eg@essi.fr>
* src/error.c, src/fport.c, src/gnu-getopt.c, src/hash.c,
......
......@@ -1727,7 +1727,7 @@ echo "${ECHO_T}no" >&6
fi
USER_CFLAGS=$CFLAGS
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
......@@ -3610,7 +3610,7 @@ export CC
if test X$prefix = XNONE ;then prefix=$ac_default_prefix; fi
if test "X$CFLAGS" = "X" -a "$CC" = "gcc"
if test "X$USER_CFLAGS" = "X" -a "$CC" = "gcc"
then
CFLAGS="-O3 -fomit-frame-pointer"
fi
......
......@@ -2,7 +2,7 @@ dnl configure.in for STklos
dnl
dnl Author: Erick Gallesio [eg@unice.fr]
dnl Creation date: 28-Dec-1999 21:19 (eg)
dnl Last file update: 15-Apr-2006 00:07 (eg)
dnl Last file update: 15-Apr-2006 11:17 (eg)
AC_INIT(src/stklos.c)
......@@ -11,7 +11,7 @@ AM_INIT_AUTOMAKE(stklos, 0.73)
AM_CONFIG_HEADER(src/stklosconf.h)
AC_PROG_MAKE_SET
USER_CFLAGS=$CFLAGS
dnl Checks for programs.
AC_PROG_INSTALL
......@@ -30,7 +30,7 @@ dnl Initialize prefix
if test X$prefix = XNONE ;then prefix=$ac_default_prefix; fi
dnl use -O3 if user has not specified something else and we are using GCC
if test "X$CFLAGS" = "X" -a "$CC" = "gcc"
if test "X$USER_CFLAGS" = "X" -a "$CC" = "gcc"
then
CFLAGS="-O3 -fomit-frame-pointer"
fi
......
- Virer context.skr
......@@ -40,6 +40,9 @@ The command that should be run to compile shared libraries.
The command that should be used to link shared libraries.
.IP "--shared-suffix | -s"
The suffix for shared libraries.
.IP "--threads | -t"
The name thread system compiled in
.B stklos.
.IP "--help | -h | -?"
Show a list of options
......
......@@ -2,7 +2,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 11-Apr-2000 10:30 (eg)
# Last file update: 2-Feb-2006 21:59 (eg)
# Last file update: 14-Apr-2006 17:28 (eg)
CC = @CC@
CFLAGS = @CFLAGS@
......
......@@ -18,7 +18,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 11-Apr-2000 10:30 (eg)
# Last file update: 2-Feb-2006 21:59 (eg)
# Last file update: 14-Apr-2006 17:28 (eg)
SHELL = @SHELL@
srcdir = @srcdir@
......
/*
This file was automatically generated on Sat Apr 15 00:19:10 2006 by make-C-boot
This is a dump of the image in file /tmp/stklos/lib/boot.img3
This file was automatically generated on Sat Apr 15 11:19:18 2006 by make-C-boot
This is a dump of the image in file /mnt/users/eg/Projects/STklos/lib/boot.img3
***DO NOT EDIT BY HAND***
*/
......
......@@ -15,7 +15,7 @@
*
* Author: Erick Gallesio [eg@kaolin.unice.fr]
* Creation date: ??-???-1994 ??:??
* Last file update: 12-Apr-2006 12:49 (eg)
* Last file update: 15-Apr-2006 11:06 (eg)
*
* Code for Win32 conributed by (Paul Anderson <paul@grammatech.com> and
* Sarah Calvo <sarah@grammatech.com>) has been deleted for now. It should be
......@@ -326,7 +326,7 @@ DEFINE_PRIMITIVE("%run-process", run_process, subr4,
/* Cannot exec if we are here */
STk_fprintf(STk_current_error_port(), "**** Cannot exec %s!\n", *argv);
exit(1);
_exit(1);
default: /* PARENT */
PROCESS_PID(z) = pid;
for(i = 0; i < 3; i++) {
......
/*
* thread.c -- Threads support in STklos
*
* Copyright 2006 Erick Gallesio - I3S-CNRS/ESSI <eg@essi.fr>
* Copyright 2006 Erick Gallesio - I3S-CNRS/ESSI <eg@essi.fr>
*
*
* This program is free software; you can redistribute it and/or modify
......@@ -21,7 +21,7 @@
*
* Author: Erick Gallesio [eg@essi.fr]
* Creation date: 23-Jan-2006 12:14 (eg)
* Last file update: 14-Apr-2006 20:28 (eg)
* Last file update: 15-Apr-2006 00:16 (eg)
*/
......
/*
* v m . c -- The STklos Virtual Machine
*
* Copyright 2000-2006 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
* Copyright 2000-2006 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
*
*
* This program is free software; you can redistribute it and/or modify
......
......@@ -22,7 +22,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 27-Jul-2000 23:58 (eg)
# Last file update: 18-Mar-2005 15:39 (eg)
# Last file update: 15-Apr-2006 09:52 (eg)
prefix=@prefix@
......@@ -40,6 +40,8 @@ Options:
libraries
[--shared-suffix | -s] Suffix for shared libraries on current
platform
[--threads | -t ] Display the name of the valiable thread
system
[--help | -h | -?] Show a list of options
EOF
exit $1
......@@ -67,6 +69,9 @@ while test $# -gt 0; do
--shared-suffix|-s)
echo @SH_SUFFIX@
;;
--threads|-t)
echo @THREADS@
;;
--help|-h|-\?)
usage 0 1>&2
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment