Commit Graph

61 Commits

Author SHA1 Message Date
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
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