- Gauche の 外部パッケージ作成手順のメモです (Gauche v0.9.6 の場合)。
(情報が古くなっている可能性があります)
- Gauche のインストール
事前に Gauche がインストールされている必要があります。
Windows の場合は、以下のページに Windows用バイナリインストーラ があるので
インストールを実施ください。
--- error_orig.c 2015-07-02 18:12:26 +0900 | |
+++ error.c 2015-07-03 00:14:02 +0900 | |
@@ -650,17 +650,23 @@ | |
syserr = SCM_MAKE_STR_COPYING(strerror(en)); | |
#else /*GAUCHE_WINDOWS*/ | |
if (en < 0) { | |
- LPTSTR msgbuf; | |
+ ScmObj ostr = Scm_MakeOutputStringPort(TRUE); | |
+ LPTSTR msgbuf = NULL; | |
const char *xmsgbuf; |
--- console_orig.stub 2015-02-24 13:43:19 +0900 | |
+++ console.stub 2015-03-03 13:57:53 +0900 | |
@@ -71,7 +71,7 @@ | |
(define-enum CTRL_C_EVENT) | |
(define-enum CTRL_BREAK_EVENT) | |
-(define-cproc sys-generate-console-ctrl-event (event::<int> pgid::<int>) | |
+(define-cproc sys-generate-console-ctrl-event (event::<int> pgid::<uint>) | |
::<void> | |
(check (GenerateConsoleCtrlEvent (DWORD event) (DWORD pgid)))) |
自分がインストールしたとき(2013年12月~2015年9月)の参考用のメモです。
(情報が古くなっている可能性があります)
**<<<現在では より新しい MSYS2/MinGW-w64 (64bit/32bit) の開発環境もあります>>>
MSYS2/MinGW-w64 (64bit/32bit) 開発環境のインストールについては、
以下のページの方を参照ください。
https://gist.github.com/Hamayama/eb4b4824ada3ac71beee0c9bb5fa546d
--- console20140622.stub 2014-06-20 15:56:48 +0900 | |
+++ console.stub 2014-06-22 18:33:51 +0900 | |
@@ -268,7 +268,9 @@ | |
:type <boolean>) | |
(key.repeat-count :c-name "rec.Event.KeyEvent.wRepeatCount" | |
:type <int>) | |
- (key.virtual-key-code :c-name "rec.Event.KeyEvent.wVirtualScanCode" | |
+ (key.virtual-key-code :c-name "rec.Event.KeyEvent.wVirtualKeyCode" | |
+ :type <int>) | |
+ (key.virtual-scan-code :c-name "rec.Event.KeyEvent.wVirtualScanCode" |