Commit graph

113 commits

Author SHA1 Message Date
Alex Shinn
3c4d839c71
Merge pull request #498 from amirouche/emsdk-update
Emsdk update
2018-11-27 23:12:09 +08:00
Alex Shinn
5bbef040c5 BSD portability fixes from Taylor Campbell 2018-11-27 23:01:23 +08:00
Amirouche
80dea6ce19 Makefile: export 'cwrap' and 'ccall' from emscripten 2018-11-25 19:12:05 +01:00
John Croisant
3c41f9d3e2 Add "test-division" Makefile target.
Runs tests/division-tests.scm. The "test-all" target now also runs
test-division.
2018-03-15 21:43:21 -05:00
Alex Shinn
13a8c50373 install (srfi 135 kernel8) 2018-01-25 11:40:53 +09:00
Alex Shinn
1a2c504c5f typo, make cleaner should remove versioned so's 2018-01-25 01:27:18 +09:00
Alex Shinn
ea2e3d7e0a updating install files 2018-01-25 01:24:41 +09:00
Alex Shinn
5b5ca24a15 add repl to red image 2018-01-25 00:08:53 +09:00
okuoku
c3cbd9a2e2 Makefile: Fix Cygwin build
Fix Cygwin build; gmake's $(OS) will yield Windows_NT even on Cygwin.
2017-12-14 20:32:15 +09:00
okuoku
7c45b4ab0e Makefile: Prefer Win32 native over MSYS
Prefer Win32 native over MSYS on default build. MSYS still can be
choosen with "PLATFORM=msys".
2017-12-13 22:00:13 +09:00
okuoku
e46bd03239 (chibi win32 process-win32): New library
Implement Win32 specific process library. Currently the library only
provides `exit` procedure.
2017-12-13 19:04:04 +09:00
okuoku
3bcf3d7d94 Makefile: Fix (chibi time) installation
Fix make install regression which was introduced in #438
2017-11-18 20:08:59 +09:00
okuoku
e092923aac Win32: Fix win32 port
Try to fix win32 port. Now it runs both on Win32/Win64.

Win64 port currently depends on 128bits arithmetic thus it does not run on
MSVC.

Makefile now have EXCLUDE_POSIX_LIBS knob to exclude posix related library
from build.

Introduce msys PLATFORM for Makefile.detect to use MSYS's POSIX
emulation layer. It is intended for linking against MSYS tools; it is
not for embedding to Win32 applications.
2017-11-11 04:31:06 +09:00
Sudarshan S Chawathe
c6ee681948 Add mkdir and install commands for SRFI 117 to Makefile. 2017-11-08 18:05:28 -05:00
Alex Shinn
887100b8ab install (srfi 1 immutable) 2017-10-28 08:44:09 +09:00
Alex Shinn
cc92ecf2bc adding (scheme red) and associated srfi aliases 2017-10-06 23:53:22 +09:00
Alex Shinn
4a7a809c8d distinguishing lowercase and foldcase (fixes issue #420) 2017-08-27 14:10:05 +09:00
Alex Shinn
6d3ae7a28e replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
Marc Nieper-Wißkirchen
0078ae2e83 Repair emscripten build 2017-07-25 16:06:59 +02:00
Alex Shinn
cdd5ffa406 installing recent libs (issue #427) 2017-07-20 22:21:13 +09:00
Alex Shinn
b52711cac8 adding (srfi 144) 2017-06-03 16:49:09 +09:00
Alex Shinn
eb79e98d20 adding (srfi 142), using that in place of (srfi 33) 2017-04-16 22:06:56 +09:00
Alex Shinn
c03ae08bbd various portability improvements 2017-03-26 16:00:31 +09:00
Alex Shinn
be907a31e3 porting (chibi temp-file) and (chibi zlib) to chicken 2017-03-25 18:26:35 +09:00
Alex Shinn
87ac9fd633 port (chibi filesystem) to chicken 2017-02-13 22:43:08 +09:00
Alex Shinn
7c12b0aaf3 sort libs within a package before installing,
plus other small fixes for (chibi iset) for chicken
2017-01-30 22:48:02 +09:00
Alex Shinn
ef57cd76ec fixing env var refs from previous commit 2016-11-29 01:22:26 +09:00
Alex Shinn
efcb12d8e3 setting LD_LIBRARY_PATH for installing into a non-standard directory 2016-11-29 01:15:56 +09:00
Alex Shinn
01bd48d932 only build image files on install 2016-06-24 22:36:22 +09:00
Vincent Manis
e73c888279 Modify makefiles to make LDCONFIG optional, support systems with no symlinks.
- Makefile.libs: changed definition of LN to LN -sf, so can be overridden
    with LN=cp on systems with no symlinks; introduced LDCONFIG, so can be
    overridden if desired.

  - Makefile: changed uses of $(LN) -sf to $(LN); replaced two occurrences
    of ldconfig by $(LDCONFIG); suppress install of $(IMAGE_FILES) if variable
    is empty.

Note: the IMAGE_FILES change was to enable Chibi to be compiled on GNURoot+Android,
and can be reasonably reverted if an alternate way of dealing with image files
is chosen.
2016-05-18 14:11:39 -07:00
Marc Nieper-Wisskirchen
11f5a5473e Exclude unsupported functions in Emscripten version 2016-04-08 15:48:45 +02:00
Alex Shinn
ec430071eb default snow-chibi command uses snow.img 2016-03-13 15:42:47 +09:00
Alex Shinn
524179388d making image save/load functions public 2016-03-08 23:13:16 +09:00
Alex Shinn
38385c52eb removing bashisms from makefile 2016-03-02 22:57:09 +09:00
Alex Shinn
64f3e0fc56 installing chibi and snow images by default 2016-02-27 22:29:19 +09:00
Chris Walsh
9db22a4f7a Made static definitions for srfi/95 and srfi/27 so work with images. Put makefile back to -O3 so optimized binaries made by default 2016-02-20 09:16:58 -05:00
Chris Walsh
9f10e3656c Bit better error reporting 2016-02-16 12:10:28 -05:00
Chris Walsh
2005c19ea0 Added full support for packed images, both for static and dynamic libraries. 2016-02-15 21:12:58 -05:00
Tobias Kortkamp
bd584435cd Provide overridable PKGCONFDIR and INSTALL_EXE variables in Makefile
Adding these options will simplify the FreeBSD port of chibi-scheme
(https://freshports.org/lang/chibi-scheme) because I can get rid of
most of the custom patches currently needed.  In FreeBSD pkg-config
files need to be installed into libdata/pkgconfig.  INSTALL_EXE
provides a hook for replacing the normal 'install' program with
'install -s' for stripping the binaries/libraries.  Adding these
options should have no impact on the default build process.
2016-01-06 22:36:07 +01:00
Marc Nieper-Wißkirchen
899a15b725 Integrate emscripten build process in Makefile
Move Emscripten dependencies into separate directory
2015-06-23 19:57:07 +02:00
Alex Shinn
854f2f09ed Adding command-line option tests. 2015-06-21 23:14:38 +09:00
Frère Jérôme
7492964312 Remove warning for inexistant static library
Simple tweak using the *test* system command. Might not be portable enough?
2015-06-07 09:38:40 +02:00
Juan Francisco Cantero Hurtado
c4eb57c6c8 Add the variable VERSION and remove the uses of 'cat VERSION'
The Makefile doesn't write correctly the version of chibi-scheme within
the pkgconfig file (spotted by James Turner, OpenBSD developer) because
the VERSION variable doesn't exist.

The uses of 'cat VERSION' are not needed anymore.
2015-05-02 20:07:25 +02:00
Alex Shinn
0df0dc3e2b Fixing typo in snowballs target. 2015-05-02 22:14:29 +09:00
Alex Shinn
5cab36c8bd Fleshing out (chibi parse) docs and adding to the manual. 2015-05-02 21:47:24 +09:00
Alex Shinn
452e6f27d7 Packaging (chibi iset) recursively. 2015-05-01 07:55:02 +09:00
Alex Shinn
7f63676e1b Adding description for (chibi char-set boundary). 2015-04-30 17:33:20 +09:00
Alex Shinn
93730efceb Adding (chibi app) docs. 2015-04-30 17:21:36 +09:00
Alex Shinn
12c9dc1038 Adding a snowballs target. 2015-04-26 13:29:40 +09:00
Alex Shinn
82bc3b931f Adding "debian" make target from issue #221. 2015-04-25 10:40:21 +09:00