[#8166] jcode.rb for UTF-8 — WATANABE Hirofumi <Hirofumi.Watanabe@...>
わたなべです.
[#8168] {literal}#[]= — EGUCHI Osamu <eguchi@...>
えぐち@エスアンドイーです。
まつもと ゆきひろです
えぐち@エスアンドイー です。
まつもと ゆきひろです
えぐち@エスアンドイー です。
In message "[ruby-dev:8189] Re: {literal}#[]="
[#8175] yacc generated symbols — Masaki Fukushima <fukusima@...>
福嶋です。
[#8176] Multiple self assignment — Kazuhiro Yoshida <moriq.kazuhiro@...>
もりきゅうです。
まつもと ゆきひろです
もりきゅうです。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
西@九大です。
もりきゅうです。
けいじゅ@日本ラショナルソフトウェアです.
えぐち@エスアンドイー です。
In message "[ruby-dev:8266] Re: 例外を処理する 2 項演算子"
まつもと ゆきひろです
けいじゅ@日本ラショナルソフトウェアです.
まつもと ゆきひろです
[#8204] Re: [ruby-list:18281] Re: アクセス制御について — Shugo Maeda <shugo@...>
前田です。
原です。
前田です。
けいじゅ@日本ラショナルソフトウェアです.
前田です。
[#8218] append_features — gotoken@... (GOTO Kentaro)
ごとけんです
[#8234] Syntax check in test.rb — Katsuyuki Komatsu <komatsu@...>
小松です。
[#8259] Re: [ruby-list:18468] Re: Array doesn't include Comparable — ttate@...
立石です。
[#8290] [patch] autoupdate — EGUCHI Osamu <eguchi@...>
えぐち@エスアンドイーです。
まつもと ゆきひろです
[#8305] [patch] duplicated include in regex.c — Minero Aoki <aamine@...>
あおきです。
[#8315] Re: [ruby-list:18601] Re: [REQ] [].grep(pat){} ==> [].grep(pat).collect{} — Kazunori NISHI <kazunori@...>
西@九大です。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
西@九大です。
新井です。
まつもと ゆきひろです
新井です。
新井です。
まつもと ゆきひろです
小松です。
まつもと ゆきひろです
ごとけんです
なかだです。
[#8319] Re: Exception handling — Jun Adachi <adachi@...>
安達@沖データと申します。
西@九大です。
けいじゅ@日本ラショナルソフトウェアです.
[#8320] constants definition in extarnal files — nagai@...
永井@知能.九工大です.
In message "[ruby-dev:8320] constants definition in extarnal files"
[#8325] rdtool-0.5.2 and racc-0.9.5/racc-0.10.0 — Katsuyuki Komatsu <komatsu@...>
小松です。
[#8330] Re: Exception handling — Kazuhiro Yoshida <moriq.kazuhiro@...>
もりきゅうです。
[#8332] Re: Exception handling — Kazuhiro Yoshida <moriq.kazuhiro@...>
もりきゅうです。
[#8353] Regexp <=> — Kazuhiro Nishiyama <nishiyama@...1.tiki.ne.jp>
こんばんは、ZnZです。
まつもと ゆきひろです
こんばんは、ZnZです。
まつもと ゆきひろです
[#8366] Re: Exception handling — Kazuhiro Yoshida <moriq.kazuhiro@...>
もりきゅうです。
[#8375] File test methods for Stat — nobu.nakada@...
なかだです。
まつもと ゆきひろです
なかだです。
まつもと ゆきひろです
まつもと ゆきひろです
なかだです。
まつもと ゆきひろです
[#8445] [PATCH] Ruby/Tk and ... — Koji Arai <JCA02266@...>
新井です。
新井です。
永井@知能.九工大です.
[#8446] [REQ] {enumerable, integer, range}.rand — Kazunori NISHI <kazunori@...>
西@九大です。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
西@九大です。
まつもと ゆきひろです
これつぐです。
まつもと ゆきひろです
[#8451] new Hash (Re: [ruby-list:19043]) — Wakou Aoyama <wakou@...>
青山です。
原です。
松で
青山です。
[ruby-dev:8371] Cygwin 1.0
小松です。
In the message of [ruby-dev:8207] Re: error.c for latest cygwin
on 1999/11/2 13:11 Katsuyuki Komatsu <komatsu@sarion.co.jp> wrote:
|そういえば、Cygwin 1.0 CD-ROMが出てますけど、いったいどの
|バージョンのcygwin1.dllが入っているんでしょう?
|
|どなたか入手されましたか?
入手しました (笑)。
インストール先のデフォルトは、%SystemDrive%\Cygwinで、
インストール先を"/"とするsystemのmountのエントリを
インストーラーが作ります。
bash-2.03$ mount
Device Directory Type Flags
C:\Cygwin / system binmode
bash-2.03$
インストール後のディレクトリ構成を最後に添付しました。
また、インストーラーはSystemの環境変数のPATHの*最後*に、
C:\Cygwin\bin;C:Cygwin\contrib\bin
を追加し、バッチファイル経由でなく直接bashを起動する
メニューを作成します。
# このあたりのデフォルトの選択は、結構問題を引き起こしそう。
bash-2.03$ uname -mrsv
CYGWIN_NT-4.0 21.0 (0.14/2/2) 1999-9-13 20:44:35 i686
bash-2.03$ ls -l cygwin1.dll
-rw-r--r-- 1 komatsu users 804728 Sep 13 12:15 cygwin1.dll
bash-2.03$ size cygwin1.dll
text data bss dec hex filename
430592 72704 21104 524400 80070 cygwin1.dll
bash-2.03$ fgrep %%% cygwin1.dll
%%% Cygwin dll major: 21
%%% Cygwin dll minor: 0
%%% Cygwin dll epoch: 19
%%% Cygwin dll bad signal mask: 19005
%%% Cygwin dll old termios: 00005
%%% Cygwin api major: 0
%%% Cygwin api minor: 14
%%% Cygwin shared data: 2
%%% Cygwin dll identifier: cygwin
%%% Cygwin mount registry: 2
%%% Cygwin cygnus registry name: Cygnus Solutions
%%% Cygwin cygwin registry name: Cygwin
%%% Cygwin program options name: Program Options
%%% Cygwin cygwin mount registry name: mounts v2
%%% Cygwin build date: Mon Sep 13 20:44:35 1999
%%% Cygwin shared id: cygwinS2
bash-2.03$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/specs
gcc version 2.9-cygwin-990830
bash-2.03$
gccに限らず"--host=i686-cygwin --target=i686-cygwin"で
configurationされています。
# i586はサポートしない?
src/winsup/ChangeLogの先頭は、
1999-09-10 DJ Delorie <dj@cygnus.com>
* exec.cc (_execve): check for an empty environment
でした。
で、やっと本題。
コンパイラを入れ替える前にと思って、素の状態でRubyのコンパイルを
試したところ、1999-11-11のRuby 1.5.0のmakeで2個所引っかかかりました。
最終的にできたruby.exeはmake testをパスしてます。
(1) numeric.cを"-g -O2"でコンパイルするとcc1が落ちます。
"-g -O"や"-O"なら通りました。
bash-2.03$ make numeric.o
gcc -g -O2 -I. -I.. -I/usr/local/include -c ../numeric.c
../numeric.c: In function `flo_gt':
../numeric.c:473: internal error--unrecognizable insn:
(insn 177 114 178 (set (reg:SI 42)
(and:SI (zero_extract:SI (reg:HI 35)
(const_int 8)
(const_int 8))
(const_int 69))) -1 (insn_list 114 (nil))
(expr_list:REG_DEAD (reg:HI 35)
(nil)))
0 0 [main] C:\cygwin\usr\lib\gcc-lib\i686-cygwin\2.9-cygwin-990830\cc1.exe 1016 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
0 3579 [main] cc1 1016 stackdump: Dumping stack trace to cc1.exe.stackdump
make: *** [numeric.o] Error 1
bash-2.03$ gcc -g -O -I. -I.. -I/usr/local/include -c ../numeric.c
bash-2.03$
(2) dllwrapが"undefined reference to `WinMain@16'"のエラーになります。
dllwrap.exeを
cygwin B20.1
binutils-2.9.4-cygb20.tar.gz
gcc-2.95.2-cygb20.tar.gz (binutil-2.9.4と同じdllwrap.exeが入っている)
のいずれかに置き換えると通りました。
CDに入っているバイナリだけおかしいようです。
bash-2.03$ make
dllwrap -o rubycw.dll --export-all --output-lib=libruby.a --dllname=rubycw.dll -Wl,-e,__cygwin_noncygwin_dll_entry@12 --add-stdcall-alias -s array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o crypt.o flock.o strftime.o dmyext.o
Warning: no export definition file provided
dllwrap will create one, but may not be what you want
/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../i686-cygwin/lib/libcygwin.a(libcmain.o)(.text+0x66):libcmain.cc: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [rubycw.dll] Error 1
bash-2.03$
--
小松克行 / Katsuyuki Komatsu <komatsu@sarion.co.jp>
■Cygwin 1.0のインストール後のディレクトリ構成 (適宜折りたたんでいます)
.
`--bin
`--contrib
| `--bin
| `--docs
| `--etc
| `--include
| `--info
| `--lib
| | `--cvs
| | `--perl5
| | | `--5.00503
| | | | ...
| | | | `--cygwin
| | | | ...
| | | `--site_perl
| | | `--5.005
| | | `--cygwin
| | `--xemacs
| | | `--lock
| | `--xemacs-21.0-b67
| | `--etc
| | `--i686-pc-cygwin32
| | `--info
| | `--lisp
| `--libexec
| `--man
| `--sbin
| `--share
| | `--games
| | `--groff
| | `--tabset
| | `--terminfo
| | `--vim
| `--tmp
`--contribpatches
`--contribsrc
`--etc
`--html
`--share
`--src
`--tmp
`--usr
| `--i686-cygwin
| | `--bin
| | `--include
| | `--lib
| `--include
| | `--g++-2
| | `--readline
| `--info
| `--lib
| | `--gcc-lib
| | `--i686-cygwin
| | `--2.9-cygwin-990830
| `--libexec
| `--man
| `--share
| `--cygnus
| `--dejagnu
| `--gdbtcl
| `--itcl3.0
| `--itk3.0
| `--iwidgets3.0.0
| `--locale
| `--tcl8.0
| `--tix4.1
| `--tk8.0
`--var
`--run
`--tmp