okuoku
dee6f190d9
doc: Update document for Win32 support
2017-12-13 23:42:18 +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
d313f85b16
(chibi disasm): Use %I64d on Win64
2017-12-13 22:00:13 +09:00
okuoku
4d4b6f0474
ast.c Win32: Workaround for MinGW header file
...
getenv_s should be in <stdlib.h> but it seem MinGW header lacks it.
2017-12-13 22:00:13 +09:00
okuoku
070f2925c4
(chibi filesystem) Win32: A bit more shims
...
Implement more shims.
2017-12-13 22:00:07 +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
da7b68f82e
SRFI-98: Do not decl. environ as extern on Win32
...
On Win32, environ definition is included in <stdlib.h>.
2017-12-13 17:30:36 +09:00
okuoku
d51a9e976b
(chibi io) Win32: Include <io.h> on port.c
...
Include <io.h> to use various POSIX-like functions.
2017-12-13 17:27:16 +09:00
okuoku
960c962798
Win32: Include <io.h> on sexp.c
...
Use POSIX-like functions(open, read and write) from its
compatibility library.
2017-12-13 17:20:53 +09:00
okuoku
51f24ed36e
Win32: Import Ruby's lgamma_r implementation (Public Domain)
...
Import Ruby's lgamma_r implementation as MSVCRT missing lgamma_r
implementation. Non Windows platforms should continue to use lgamma_r
implementation which provided with its C runtime library.
2017-12-13 17:20:53 +09:00
okuoku
e45f142b6a
sexp.h: chmod -x
2017-12-13 17:20:53 +09:00
Alex Shinn
9cc2192026
additional format fixes
2017-12-10 15:51:18 +09:00
Alex Shinn
79f08129b2
fixing formatting with 0 precision
2017-11-24 22:57:10 +09:00
Alex Shinn
dec0f3b1a5
Merge pull request #444 from okuoku/fix-Makefile
...
Makefile: Fix (chibi time) installation
2017-11-18 22:02:58 +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
Alex Shinn
8111f17825
Merge pull request #443 from okuoku/win32-cmake
...
Win32: Visual Studio 2017 support using CMake
2017-11-18 18:21:20 +09:00
Alex Shinn
86fb983ec0
Merge branch 'master' into win32-cmake
2017-11-18 18:20:53 +09:00
Alex Shinn
6a09c87c98
Merge branch 'master' into win32-cmake
2017-11-18 18:19:46 +09:00
Alex Shinn
63b6151230
fix patch for scheme-r7rs
2017-11-18 18:17:45 +09:00
okuoku
51a73231de
win32: Disable #435 for Win32
...
Disable #435 for Win32 as it is only meant for UNIX platforms.
2017-11-18 16:46:20 +09:00
okuoku
aed9d4da32
appveyor.yml: Update appveyor.yml to include CMake configurations
2017-11-18 16:46:14 +09:00
okuoku
1112f49605
chibi-scheme.vcproj: Remove
...
Remove chibi-scheme.vcproj to prevent interfere with CMake builds.
2017-11-18 16:28:35 +09:00
okuoku
2763f8a201
cmake: Add CMakeLists.txt
...
This CMakeLists.txt only meant for Win32 MSVC builds.
For POSIX platforms, it is recommended using Makefile.
2017-11-18 16:28:31 +09:00
okuoku
7693881125
sexp.c: Use strncasecmp instead of strcasestr
...
strcasestr is not available on MS C runtime. Use strncasecmp instead
which is in POSIX. MS C runtime has _strnicmp().
2017-11-18 15:24:28 +09:00
Alex Shinn
231c4bc04b
Merge branch 'master' of https://github.com/ashinn/chibi-scheme
2017-11-18 14:36:25 +09:00
Alex Shinn
e0dcb88b8a
Merge pull request #435 from omasanori/srfi-22-scheme-r7rs
...
[RFC] Treat `scheme-r7rs` command name as in SRFI 22.
2017-11-18 14:36:07 +09:00
Alex Shinn
a59fc49140
Merge pull request #438 from okuoku/win64
...
Win32: Fix win32 port
2017-11-18 14:34:32 +09:00
Alex Shinn
0e4b4d6127
adding (chibi show color) and (chibi show unicode)
2017-11-18 14:26:51 +09:00
Alex Shinn
7562cc195e
Merge pull request #442 from okuoku/patch-ast
...
ast.c: #include <stdlib.h> for setenv()
2017-11-13 22:08:55 +09:00
Alex Shinn
afcae50d26
Merge pull request #441 from okuoku/patch-main
...
main: Silence warning with !SEXP_USE_GREEN_THREADS
2017-11-13 22:08:36 +09:00
okuoku
396c54ca58
ast.c: #include <stdlib.h> for setenv()
2017-11-11 04:52:06 +09:00
okuoku
5558da5d2b
main: Silence warning with !SEXP_USE_GREEN_THREADS
2017-11-11 04:46:25 +09:00
okuoku
2ff4400041
Appveyor: Add appveyor.yml
...
Appveyor.yml now includes three platforms:
- x86 : Win32
- x64 : Win64
- msys : MSYS (64bits)
2017-11-11 04:33:32 +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
Alex Shinn
905d43fe62
Merge pull request #440 from chaw/master
...
Add mkdir and install commands for SRFI 117 to Makefile.
2017-11-10 22:46:04 +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
8d51cf053c
Merge branch 'master' of https://github.com/ashinn/chibi-scheme
2017-11-08 23:00:02 +09:00
Alex Shinn
4a35499894
Merge pull request #439 from okuoku/win32-lib
...
RFC: Win32 feature identifier / library changes
2017-11-08 22:59:47 +09:00
Alex Shinn
affe06c6e5
Merge branch 'master' of https://github.com/ashinn/chibi-scheme
2017-11-08 22:56:45 +09:00
Alex Shinn
80c69291ba
updating (chibi show) with srfi changes
2017-11-08 22:56:40 +09:00
Alex Shinn
bc3fa73ec4
adding unambiguous promise? to core
2017-11-08 22:56:02 +09:00
Alex Shinn
9604ab260c
Merge pull request #437 from okuoku/genstatic-patch
...
chibi-genstatic: Remove inline? override
2017-11-08 22:48:52 +09:00
okuoku
bfec8b9f4e
chibi-genstatic: Add --no-inline option
...
Add --no-inline option to improve debuggability.
2017-11-08 01:12:54 +09:00
okuoku
735719d9d6
Win32: Port/Stub-out libraries
...
- (scheme time): Win32 stub impl
- (chibi filesystem): Win32 stubbing
- (chibi process): ditto
- (chibi time): ditto
- SRFI-144: lgamma is not in C99 standard
- SRFI-27: Win32 INSECURE rand
2017-11-06 04:10:28 +09:00
okuoku
307c3aeecf
chibi-genstatic: Remove inline? override
...
Remove inline? binding here; it was effectively no-op'ed
`--inline` option.
2017-11-06 04:07:50 +09:00
okuoku
a2a77e902b
Tentative MinGW support on makefile
2017-11-06 04:07:06 +09:00
Alex Shinn
887100b8ab
install (srfi 1 immutable)
2017-10-28 08:44:09 +09:00
Alex Shinn
52b18ca665
fix bug in error reporint in verbose mode of (chibi test)
2017-10-22 22:25:05 +09:00
Alex Shinn
e4eadba355
sprintf precision ranges from 15 to 17
2017-10-22 22:24:15 +09:00
Alex Shinn
c5effc536f
adding some additional precision tests
2017-10-14 21:49:47 +09:00