ruby/wince
usa b369eea79f * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.
* win32/Makefile.sub (LIBS): use oldnames.lib.

* win32/win32.c (rb_w32_getcwd): follow above change.

* win32/win32.h: ditto.

* wince/direct.c, wince/direct.h (getcwd): ditto.

* wince/io.h: ditto.

* wince/string.c, wince/wince.h (stricmp, strnicmp): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04 18:17:30 +00:00
..
sys * wince/sys : add stat.c, stat.h, timeb.c, timeb.h, 2002-12-14 05:27:35 +00:00
README.wince WinCE patch merged 2002-12-02 07:57:17 +00:00
assert.h WinCE patch merged 2002-12-02 07:57:17 +00:00
config * wince/config, wince/configure.bat: replace 1.7 with 1.8 2002-12-27 08:55:31 +00:00
configure.bat * wince/config, wince/configure.bat: replace 1.7 with 1.8 2002-12-27 08:55:31 +00:00
direct.c * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
direct.h * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
dll.mak * wince/sys : add stat.c, stat.h, timeb.c, timeb.h, 2002-12-14 05:27:35 +00:00
errno.c WinCE patch merged 2002-12-02 07:57:17 +00:00
errno.h WinCE patch merged 2002-12-02 07:57:17 +00:00
exe.mak * configure.in, defines.h, dir.c, dir.h, dln.c, error.c, 2002-12-15 03:18:08 +00:00
fcntl.h WinCE patch merged 2002-12-02 07:57:17 +00:00
io.c * wince/sys : add stat.c, stat.h, timeb.c, timeb.h, 2002-12-14 05:27:35 +00:00
io.h * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
mswince-ruby17.def * configure.in, defines.h, dir.c, dir.h, dln.c, error.c, 2002-12-15 03:18:08 +00:00
process.c WinCE patch merged 2002-12-02 07:57:17 +00:00
process.h WinCE patch merged 2002-12-02 07:57:17 +00:00
signal.c WinCE patch merged 2002-12-02 07:57:17 +00:00
signal.h WinCE patch merged 2002-12-02 07:57:17 +00:00
stddef.h WinCE patch merged 2002-12-02 07:57:17 +00:00
stdio.c WinCE patch merged 2002-12-02 07:57:17 +00:00
stdlib.c WinCE patch merged 2002-12-02 07:57:17 +00:00
string.c * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
time.c WinCE patch merged 2002-12-02 07:57:17 +00:00
time.h WinCE patch merged 2002-12-02 07:57:17 +00:00
varargs.h WinCE patch merged 2002-12-02 07:57:17 +00:00
wince.c WinCE patch merged 2002-12-02 07:57:17 +00:00
wince.h * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
wincemain.c WinCE patch merged 2002-12-02 07:57:17 +00:00
wincon.h WinCE patch merged 2002-12-02 07:57:17 +00:00
winsock2.c WinCE patch merged 2002-12-02 07:57:17 +00:00

README.wince

=begin

= How to build ruby using eMbedded Visual C++

== Requirement

(1) eMbedded Visual C++ 3.0 or later.

== How to compile and install

(1) Move to ruby\wince directory.

(2) if you changed install directories of eMVC and SDK from default
    settings, please modify .\configure.bat in order to set 
    environment valuables such as "PATH", "INCLUDE", and "LIB".

(2) Execute .\configure.bat on "ruby\wince" directory.
    You can specify the target platform as an argument.
    For example, run:
      [CPU]      [OS ver.]
      StrongARM  HPC2000    : `configure ARM HPC2K'
      MIPS       PocketPC   : `configure MIPS PPC'
      SH3        PocketPC   : `configure SH3 PPC'
      SH4        HPCPro     : `configure SH4 HPCPRO'
      (caution: "HPCPro" is not supported yet.)

(3) Execute `.\make.bat'.

(4) Copy mswince-ruby17.dll, ruby.exe, and irb.exe to your WinCE machine.

== Icons

Any icon files(*.ico) in the build directory, directories specified with
((|icondirs|)) make variable and (({win32})) directory under the ruby
source directory will be included in DLL or executable files, according
to their base names.
    $(RUBY_INSTALL_NAME).ico or ruby.ico   --> $(RUBY_INSTALL_NAME).exe
    $(RUBYW_INSTALL_NAME).ico or rubyw.ico --> $(RUBYW_INSTALL_NAME).exe
    the others                             --> $(RUBY_SO_NAME).dll

Although no icons are distributed with the ruby source or in the official 
site, you can use anything you like. For example, followings are written 
in Japanese, but you can download at least.

* ((<URL:http://member.nifty.ne.jp/ueivu/rubyico.html>)) or
  ((<zipped icons|URL:http://member.nifty.ne.jp/ueivu/Ruby_ico.zip>))
* ((<URL:http://homepage1.nifty.com/a_nakata/ruby/>)) or
  ((<icon itself|URL:http://homepage1.nifty.com/a_nakata/ruby/RubyIcon.ico>))

== Build examples

  ex.)
    current directory:      C:\
    ruby source directory:  C:\ruby
    target CPU:             StrongARM
    target OS version:      PocketPC

    cd \ruby\wince
    .\configure ARM PPC
    .\make.bat

=end