Commit Graph

37 Commits

Author SHA1 Message Date
sam 9f4dc9b28f * Oops, fixed a misplaced #ifdef.
git-svn-id: svn://svn.zoy.org/elk/trunk@117 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 09:56:55 +00:00
sam af14b9bc14 * Renamed load-dl.c into loadlib.c.
* Removed support for bizarre dynamic linkers, will re-add them later.
  * Removed support for object linking with ld.


git-svn-id: svn://svn.zoy.org/elk/trunk@116 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 09:55:56 +00:00
sam 58b8dc6976 * Got rid of CAN_LOAD_OBJ. We'll only use dlopen()-like functions now.
git-svn-id: svn://svn.zoy.org/elk/trunk@115 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 01:33:17 +00:00
sam b7a437f9a5 * Removed the hardcoded -lelf from src/Makefile.am.
* Moved the hardcoded -lm -ldl from src/Makefile.am to configure.ac.


git-svn-id: svn://svn.zoy.org/elk/trunk@114 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 16:19:02 +00:00
sam fa11b91757 * Fixed a compile problem when CAN_DUMP is not defined.
git-svn-id: svn://svn.zoy.org/elk/trunk@112 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 16:05:13 +00:00
sam 098b405785 * Fixed typo (HAVE_ELF/HAVE_LIBELF).
git-svn-id: svn://svn.zoy.org/elk/trunk@111 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:43:16 +00:00
sam f253c8e261 * Renamed "link" into "linked" because of namespace collision with libc.
git-svn-id: svn://svn.zoy.org/elk/trunk@110 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:41:48 +00:00
sam 4f60aa8bd1 * Replaced ptrdiff_t with intptr_t.
git-svn-id: svn://svn.zoy.org/elk/trunk@109 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:30:43 +00:00
sam ad75a09e38 * Removed -DINIT_OBJECTS from the compilation flags.
git-svn-id: svn://svn.zoy.org/elk/trunk@108 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 15:29:30 +00:00
sam 35b62e4e29 * <malloc.h> is deprecated, replaced with <stdlib.h>.
git-svn-id: svn://svn.zoy.org/elk/trunk@107 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 14:46:24 +00:00
sam 666572f3e3 * Checked for libelf, and replaced hardcoded #define ELF with HAVE_LIBELF
tests.
  * #include "site.h" in kernel.h.


git-svn-id: svn://svn.zoy.org/elk/trunk@106 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 14:45:29 +00:00
sam 971eae3c27 * Removed the autoconf check for __attribute__((noreturn)) and used plain
C checks.


git-svn-id: svn://svn.zoy.org/elk/trunk@105 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 12:33:55 +00:00
sam 287e2c8805 * scheme.h and kernel.h no longer include config.h
* Hence included config.h in all C files.
  * Added site.h which will replace config.h for installed headers.


git-svn-id: svn://svn.zoy.org/elk/trunk@103 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 11:25:29 +00:00
sam 6000fb66f3 * Don't use __attribute__ if not using GNU C.
git-svn-id: svn://svn.zoy.org/elk/trunk@99 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-06 02:33:10 +00:00
sam c85894ea26 * Some bloody K&R function definition were missing.
git-svn-id: svn://svn.zoy.org/elk/trunk@92 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 14:33:43 +00:00
sam 567cc88e47 * Removed unused obsolete build file.
git-svn-id: svn://svn.zoy.org/elk/trunk@86 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-04 12:45:17 +00:00
sam 0cb8e2ef2c * Fixed make dist.
git-svn-id: svn://svn.zoy.org/elk/trunk@71 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-02 23:53:22 +00:00
sam 769b9f2fa6 * No TABS !!
git-svn-id: svn://svn.zoy.org/elk/trunk@66 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-02 08:12:11 +00:00
sam b13cf1d931 * Added $Id and copyright information to all .c and .h files in the kernel.
git-svn-id: svn://svn.zoy.org/elk/trunk@64 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-30 16:47:54 +00:00
sam fd9e7337f5 * Fixed all compilation warnings in the base code.
git-svn-id: svn://svn.zoy.org/elk/trunk@41 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 15:01:22 +00:00
sam 1e2c36ea40 * src/bignum.c: Fixed some signed/unsigned comparisons.
git-svn-id: svn://svn.zoy.org/elk/trunk@37 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 14:29:40 +00:00
sam 8a5258b0c8 * Added comments from the old config/ directory to configure.ac, and started
changing all the AC_DEFINEs into proper autoconf checks.


git-svn-id: svn://svn.zoy.org/elk/trunk@36 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 14:17:09 +00:00
sam 29a24afc32 * Plugins in misc/ now get compiled.
git-svn-id: svn://svn.zoy.org/elk/trunk@27 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 11:54:18 +00:00
sam 8d7b935ea6 * Removed the arch-config kludge. Will re-enable it later if necessary.
git-svn-id: svn://svn.zoy.org/elk/trunk@26 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 11:19:28 +00:00
sam 9c85718f62 * First autoconfiscation step.
+ libelk compiles.
    + elk compiles.


git-svn-id: svn://svn.zoy.org/elk/trunk@25 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-25 11:15:39 +00:00
sam 1c03bfe4a9 * src/build:
+ Build libelk as shared and static libraries.
    + Dynamically link scheme with -lelk
  * debian/control:
    + New libelk0 and libelk0-dev packages.
  * debian/rules:
    + Changed build rules according to the new libelk.
    + Remove .svn directories from the examples in the elkdoc package.


git-svn-id: svn://svn.zoy.org/elk/trunk@19 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-21 12:40:09 +00:00
sam 166aa29795 * Renamed main.c into libelk.c.
* Added a new main.c that uses libelk. Can be built this way:
      gcc main.c -o scheme -L. -lelk


git-svn-id: svn://svn.zoy.org/elk/trunk@18 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-21 09:58:05 +00:00
sam f66cc0d573 * Added a special case in Elk_Init for the forthcoming libelk.
git-svn-id: svn://svn.zoy.org/elk/trunk@17 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-21 09:51:00 +00:00
sam e02ec4b1b1 * src/build: made the build continue if debian/arch-config is not found.
git-svn-id: svn://svn.zoy.org/elk/trunk@11 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:38:03 +00:00
sam a5ef1a6d2a elk (3.0-15) unstable; urgency=low
* In math.c:Exact_Modulo(), follow R5RS's definition of Modulo: if x/y is an
    integer, return Zero (Closes: #197831).
  * Made /usr/bin/elk a symlink to /usr/bin/scheme-elk.
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Wed, 18 Jun 2003 01:42:54 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@9 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:27:51 +00:00
sam fd4e14a4d1 elk (3.0-13) unstable; urgency=low
* Fixed gcc-3.3 compilation errors due to deprecated usage of <varargs.h>.
 -- Sam Hocevar (Debian packages) <sam+deb@zoy.org>  Fri, 30 May 2003 17:04:56 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@7 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:26:49 +00:00
sam 5cd078e8a6 elk (3.0-12) unstable; urgency=low
* Fixed generation of /usr/lib/elk/module.a (needed to build sced).
 -- Samuel Hocevar <sam@zoy.org>  Sat,  5 Apr 2003 01:45:26 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@6 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:26:04 +00:00
sam bd236557b1 elk (3.0-11) unstable; urgency=low
* Fixed a compilation issue in src/load-dl.c:Load_Lib().
  * Fixed more pointer/integer type confusions, used ptrdiff_t where possible.
  * Fixed a register mangling issue in heap.c:Visit_GC_List() and
    heap.c:Visit_Wind() (Really fixes #59893).
 -- Samuel Hocevar <sam@zoy.org>  Fri,  4 Apr 2003 02:48:29 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@5 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:25:35 +00:00
sam 141bca2769 elk (3.0-10) unstable; urgency=low
* Updated debhelper build dependency to >>3.0.0.
  * Shared library handling:
    + Extended load.c:General_Load() to open shared libraries.
    + Makefiles now build shared libraries.
    + Stopped distributing .o files and replaced them with the .so shared
      libraries; built the Unix, X11, Xaw and Motif extensions.
    + The interpreter is no longer linked with -lgdbm, gdbm.so is instead.
  * Replaced standalone.o and module.o with their .a equivalents.
  * Made the 'debian/arch-config' sourcing errors non-fatal so that make
    distclean works in the src/ directory.
  * Changed SCM_DIR again, from /usr/share/elk/scm to /usr/share/elk, and
    ditto with OBJ_DIR, from /usr/lib/elk/obj to /usr/lib/elk.
  * Defaulted "garbage-collect-notify?" and "autoload-notify?" to #f.
 -- Samuel Hocevar <sam@zoy.org>  Tue,  1 Apr 2003 23:34:26 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@4 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:25:03 +00:00
sam d51c970c8d elk (3.0-9) unstable; urgency=low
* New maintainer.
  * Packaging updates:
    + Fixed spelling in the package description (Closes: #161056).
    + Updated standards version to 3.5.9.0.
    + Changed SCM_DIR from /usr/lib/elk/scm to /usr/share/elk/scm because
      scheme scripts are platform-independent.
  * Massive code cleanups:
    + Added -Wall to the build rules to make error spotting easier, and fixed
      all compilation warnings in the main program.
    + Replaced sys_errlist with strerror, bcopy with memcpy, bzero with memset.
    + Fixed many uninitialized variables.
  * Fixed some pointer/integer type confusions which caused elk to crash
    on alpha (Closes: #59893) and probably ia64.
  * Fixed a read overflow in heap-gen.c:AllocPage() that was corrupting the
    internal heap (Closes: #57621).
  * Fixed a missing memory area initialization in heap-gen.c:ExpandHeap() that
    was causing garbage collector crashes.
  * Fixed an integer sign issue in main.c:Max_Stack (Closes: #176190).
  * Made `quit' an alias for `exit' in toplevel.scm.
 -- Samuel Hocevar <sam@zoy.org>  Tue,  1 Apr 2003 11:33:23 +0200


git-svn-id: svn://svn.zoy.org/elk/trunk@3 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:24:23 +00:00
sam f37781fa62 * Imported the original 3.0-8.1 Debian diff.
git-svn-id: svn://svn.zoy.org/elk/trunk@2 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:22:48 +00:00
sam 3132f65611 * Imported original elk 3.0 tree.
git-svn-id: svn://svn.zoy.org/elk/trunk@1 55e467fa-43c5-0310-a8a2-de718669efc6
2003-08-19 19:19:38 +00:00