Ticket #34121

64bit Cygwin 接続対応

Date d'ouverture: 2014-07-31 22:22 Dernière mise à jour: 2014-11-30 00:52

Rapporteur:
(del#24082)
Propriétaire:
(del#24082)
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

現状、Tera Termに同梱している cygterm.exe は、32bit Cygwin上でコンパイルしたものなので、
64bit Cygwinに対して動作しない。cygterm.exe を 64bit Cygwin 上でコンパイルし直す必要がある。

最近、64bit Cygwinを使う人が増えてきたためか、いちいちビルドするのが面倒なので、
なんとかしてほしいとのこと。気持ちはよく分かるので、何か対策を打ちたいところ。

cf.
Cygwin support in WIN7 64 
http://logmett.com/forum/viewtopic.php?f=2&t=2030

Ticket History (3/3 Histories)

2014-07-31 22:22 Updated by: (del#24082)
  • New Ticket "64bit Cygwin 接続対応" created
2014-08-22 00:50 Updated by: (del#1144)
Commentaire

うまくバイナリを管理でき、かつインストーラで判定ができるとよいのですが。

* Cygwinのバージョン

https://sourceforge.jp/projects/ttssh2/wiki/%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83

以前ここに書きましたが、いまから新規に Cygwin 1.5 環境を作ることは難しいようです。

1.5 環境では 1.7 バイナリは動かない(はず)。1.7 32bit 環境で 1.7 64bit バイナリは動かない(ばず)。

「1.5 (32bit) バイナリ」と「1.7 64bit バイナリ」を管理すればよいということになるでしょうか?

* インストーラ

if (OS == 32bit) {
  // いまのまま
}
else { // OS == 64bit
  if (Cygwin == 32bit) { // これは判定できるのか?パスが通っていなくても判定できるか?
    // いまのバイナリでOK?
  }
  else {
    // 64bit バイナリ
  }
}
2014-11-30 00:52 Updated by: (del#1144)
  • Résolution Update from Aucun to Fixed
  • État Update from Ouvert to Atteints
  • Ticket Close date is changed to 2014-11-30 00:52
  • Jalon Update from (Aucun) to Tera Term 4.85 (atteints)
Commentaire
  • 64bitバイナリを同梱
  • インストーラはインストールされている Cygwin を判定し、64bit版 Cygwin だったら 64bit 版バイナリを ttermpro.exe がインストールされたディレクトリにコピーする

以上を持って完了としたいと思います。

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion