- The tool required for make is put in.
- emx gcc 0.9d fix2
- make (GNU make v3.72.1 is used)
- bison -- or -- yacc
- autoconf
- sh.exe (or bash or ash)
... the above -- all -- Hobbes -- or -- although it is in leo -- thing required for others It may be がある. A miscellaneous tool is already introduced to our. Since it is, it does not understand well. (^^;;.;
- Sauce is developed.
% gzcat ruby-1.4.3.tar.gz | tar xvf -
- With OS/2 autoconf is done.
% cd ruby-1.4.3 % sh autoconf
- Before passing configure gcc by which the literal definition is carried out within configure The option (flag) is rewritten.
- CFLAGS "-DOS2-O2-m486-Zmts" に
- CXXFLAGS "-O2-m486-Zmts" に
- LDFLAGS "To -s-Zmts-Zbsd-signals"
- configure is passed.
% sh ./configure --prefix=/usr/local
Although the cause is unknown, if an argument is not given configure will finish on the way. prefix was given [ (Makefile or config.h is not created, either)'s and ].
- It carries out make. The husband who ruby.exe is created and completes.
% make all
- ruby.exe miniruby.exe It checks that rbconfig.rb is made.
% dir *.exe % dir *.rb
- test is performed. It checks being displayed as "test succeeded."
% make test test succeeded
- make install It carries out.
% make install
With configure Since -prefix=/usr/local is given, it is a current drive. A file required for execution is introduced below into \usr\local.
- A setup turned OS/2 is carried out. It is a current drive when it performs as the above-mentioned procedure. x : The following procedures are needed when it carries out.
- x: \usr\local\bin\ruby.exe It moves to the directory along which PATH passed.
- x: \usr\local\lib\ruby Environment variable It sets to RUBYLIB.