[ttssh2-dev 436] Re: Oniguruma 6.9.8 のビルド

Back to archive index
matsuo zmats****@gmail*****
2022年 6月 5日 (日) 01:59:13 JST


松尾です。

On 2022/05/30 23:51, matsuo wrote:
 > msys2を最新に上げたところgcc,clang でビルドが通らない
 > これを調べてみます。
 >

trunk の putty 0.76 内のソースの putty/sshsh256.c に
こんなパッチをあてると MinGW でビルドできるようになりました。

  #include "ssh.h"
  #include <assert.h>

+#define _FORCE_SOFTWARE_SHA 1
+
  /*
   * Start by deciding whether we can support hardware SHA at all.
   */
  #define HW_SHA256_NONE 0
  #define HW_SHA256_NI 1
  #define HW_SHA256_NEON 2

手もとでMinGWでビルドしてみるときは、
とりあえずこの状態でやってみます。



ttssh2-dev メーリングリストの案内
Back to archive index