mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c87332937b
* ext/extmk.rb, lib/mkmf.rb: flush $stdout. * io.c (READ_DATA_PENDING_COUNT, READ_DATA_PENDING_PTR): undef these macros on DJGPP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
21 lines
706 B
Text
21 lines
706 B
Text
* How to compile and install on djgpp
|
|
|
|
This is what you need to do to compile and install Ruby:
|
|
|
|
1. Run configure.bat, which will generate config.h and Makefile
|
|
(GNU sed required).
|
|
Message like this is normal:
|
|
sed.exe: can't read 123456789: No such file or directory (ENOENT)
|
|
|
|
2. Edit defines.h if you need. Probably this step will not need.
|
|
|
|
3. Remove comment mark(#) before the module names from ext/Setup.dj (or
|
|
add module names if not present).
|
|
|
|
4. Run make.
|
|
|
|
5. Optionally, run 'make test' to check whether the compiled Ruby
|
|
interpreter works well. If you see the message "test succeeded",
|
|
your ruby works as it should (hopefully).
|
|
|
|
6. Run 'make install'
|