Commit Graph

76 Commits

Author SHA1 Message Date
sam 41913af48d * src/libelk.c:
+ Test for HAVE_STRUCT_RLIMIT, not HAVE_GETRLIMIT.
  * src/loadlib.c:
    + Style fixes.


git-svn-id: svn://svn.zoy.org/elk/trunk@227 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 22:52:37 +00:00
sam a632cd1797 * Support for the BeOS dynamic loader.
git-svn-id: svn://svn.zoy.org/elk/trunk@225 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 13:11:41 +00:00
sam 68d95d0a0b * Fixed a stupid bug in the HP-UX dynamic code loading.
git-svn-id: svn://svn.zoy.org/elk/trunk@224 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-04 22:28:49 +00:00
sam c72bef9733 * Renamed ALIGN into ELK_ALIGN because OS X's <ppc/param.h> defines it.
git-svn-id: svn://svn.zoy.org/elk/trunk@197 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:02:53 +00:00
sam 5b1cb65202 * Removed compile-time checks for _SC_OPEN_MAX, _PC_PATH_MAX and _SC_PAGESIZE
and used simple build-time #ifdefs.


git-svn-id: svn://svn.zoy.org/elk/trunk@196 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 12:28:31 +00:00
sam 95803f0eec * Fixed the bignum/double comparisons.
git-svn-id: svn://svn.zoy.org/elk/trunk@192 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 09:11:20 +00:00
sam 3099835542 * Fixed a minor compilation warning.
git-svn-id: svn://svn.zoy.org/elk/trunk@191 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 09:10:53 +00:00
sam 2460afd80e * According to r4rs section 6.2, (eqv? 1 1.0) returns #f.
git-svn-id: svn://svn.zoy.org/elk/trunk@187 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-24 18:49:46 +00:00
sam 8717cc8a81 * Fixed scope of named let variables, fixing the bug described here:
http://groups.google.com/groups?selm=871zemtmd4.fsf%40app.dial.idiom.com


git-svn-id: svn://svn.zoy.org/elk/trunk@185 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-24 16:32:46 +00:00
sam b4d94a2c5a * Case-insensitive symbols by default.
git-svn-id: svn://svn.zoy.org/elk/trunk@180 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:16:43 +00:00
sam 957e491bba * Use DBL_MAX instead of HUGE_VAL for float precision when available.
git-svn-id: svn://svn.zoy.org/elk/trunk@179 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:16:22 +00:00
sam ab40058bed * Promoted precision in Float->String transformations.
git-svn-id: svn://svn.zoy.org/elk/trunk@178 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:15:36 +00:00
sam c4fbd1b8f2 * Empty (begin), (begin1) and (cond) return #<unspecified>.
git-svn-id: svn://svn.zoy.org/elk/trunk@177 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:54:22 +00:00
sam 2383e0247c * Display #<foo> instead of #[foo], to mimic Guile's output.
git-svn-id: svn://svn.zoy.org/elk/trunk@176 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:47:03 +00:00
sam d2b7366679 * Added the "unspecified" type.
git-svn-id: svn://svn.zoy.org/elk/trunk@175 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:46:24 +00:00
sam 8108c9c270 * Fixed an invalid declaration that prevented compilation on HP-UX.
git-svn-id: svn://svn.zoy.org/elk/trunk@166 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-19 11:46:13 +00:00
sam 7d3267a72c * Fixed the / and \ issues in path separators.
* Use strchr/strrchr instead of index/rindex.


git-svn-id: svn://svn.zoy.org/elk/trunk@163 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 13:29:39 +00:00
sam 5f31f6ae27 * Proper DLL symbol exporting under Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@162 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 13:18:59 +00:00
sam 809443fb06 * Do not open .so files, but look for the libtool .la library instead and
get the shared object's filename from it.


git-svn-id: svn://svn.zoy.org/elk/trunk@161 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 12:01:49 +00:00
sam d640876b57 * Typos and coding style.
git-svn-id: svn://svn.zoy.org/elk/trunk@160 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 02:26:57 +00:00
sam 4cb155e3f6 * Fixed all signed/unsigned and undeclared function warnings.
git-svn-id: svn://svn.zoy.org/elk/trunk@158 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 12:53:36 +00:00
sam 544dbc2618 * Use install-{exec,data}-hook instead of -local so that target directories
already exist when the rule is called.


git-svn-id: svn://svn.zoy.org/elk/trunk@154 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 08:59:33 +00:00
sam 9234eef52b * src/Makefile.am, doc/man/Makefile.am:
+ Create symlinks at install time.
  * debian/rules:
    + Moved manpages to /usr/share/man (Closes: #210894).
    + Ignore plugins in the dh_makeshlibs call.
    + Removed the elk->scheme-elk link, it is done at make install time.


git-svn-id: svn://svn.zoy.org/elk/trunk@152 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 08:46:36 +00:00
sam d4dc463b3d * Plugin support for Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@150 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-13 06:31:24 +00:00
sam b12222213e * Removed references to NOMAIN.
* Replaced / with \ under Win32.
  * The Win32 version looks for .scm files in the scm subdirectory of the
    executable's current directory.


git-svn-id: svn://svn.zoy.org/elk/trunk@148 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-13 00:34:58 +00:00
sam be26c4f8fd * Allocate a console under Win32, and wait for user input before closing it.
git-svn-id: svn://svn.zoy.org/elk/trunk@145 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 10:09:27 +00:00
sam d55ca1b9bf * Renamed OBJ_DIR into LIB_DIR.
* Fixed SCM_DIR and LIB_DIR so that they take ${prefix} into account.
  * Added -I $(top_builddir)/include to INCLUDES.


git-svn-id: svn://svn.zoy.org/elk/trunk@142 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 06:57:26 +00:00
sam f663715179 * Allocate a DOS command window under Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@141 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 23:26:02 +00:00
sam 2879388fa2 * Fixed a bug in the garbage collector.
git-svn-id: svn://svn.zoy.org/elk/trunk@138 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 15:08:00 +00:00
sam 335719f3a1 * Replaced bcopy/bzero/bcmp with memcpu/memeset/memcmp.
git-svn-id: svn://svn.zoy.org/elk/trunk@137 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 23:13:50 +00:00
sam ea7b42320d * Do not declare random(), in case the prototype changes.
git-svn-id: svn://svn.zoy.org/elk/trunk@132 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 18:35:16 +00:00
sam 137cb525d9 * Fixed a typo preventing the inclusion of sys/resource.h.
git-svn-id: svn://svn.zoy.org/elk/trunk@131 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 16:52:37 +00:00
sam 7a028b1c77 * Added more system checks.
* Now builds on Win32.


git-svn-id: svn://svn.zoy.org/elk/trunk@130 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 15:18:55 +00:00
sam dcf74a9c38 * Enhanced the dlopen() checks, especially for platforms that do not
need -ldl.
  * Ported the plugin loading code to the HP-UX shl_load() system.


git-svn-id: svn://svn.zoy.org/elk/trunk@129 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 13:30:23 +00:00
sam 3d1b7d069f * Implemented the dyld plugin loader for OS X.
git-svn-id: svn://svn.zoy.org/elk/trunk@125 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 22:07:33 +00:00
sam d5784c9b41 * Fixed many tests for termio.h, termios.h, TIOCFLUSH, etc.
git-svn-id: svn://svn.zoy.org/elk/trunk@122 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 14:28:01 +00:00
sam b92e332741 * Renamed stab-unix.c to stab-vanilla.c.
* Implemented string parsing in stab-vanilla.c, so that libelf is no
    longer required.


git-svn-id: svn://svn.zoy.org/elk/trunk@121 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:13:18 +00:00
sam 71bbf51abf * Fixed a crash for symbols found in the list but that dlopen() could not
properly load.


git-svn-id: svn://svn.zoy.org/elk/trunk@120 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:12:27 +00:00
sam 53725cc25f * Disabled non-libelf stab files.
* Added a stab-unix.c file which is a placeholder for future nm|objdump
    implementations.


git-svn-id: svn://svn.zoy.org/elk/trunk@119 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 11:25:04 +00:00
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