Stealth Mode script
[tomato.git] / release / src / router / libiconv / README.os2
blobd87372cf7172ee3592b21408c907406103101f6d
1 Installation on OS/2:
3 - Port done by Akira Hatakeyama <akira@sra.co.jp>, see
4   http://www.sra.co.jp/people/akira/os2/libiconv/index.html
6 - Requires emx+gcc, recommend emx-0.9d with fix03 or newer.
8   Also requires a few GNU utilities to be installed: GNU fileutils (cp, mv,
9   rm, ...), GNU textutils (cat, cmp, uniq, ...), GNU sed, GNU make.
11 - Cannot build in a separate directory.
13 - Build instructions:
15   No configure script needs to be run. Just
17        make -f Makefile.os2 all
19   Checking it:
21        make -f Makefile.os2 check
23 - Installation:
25        make -f Makefile.os2 install prefix="X:/emx"
27   The prefix option specifies where you have EMX installed and wish the
28   iconv library and headers to be installed.
30   This will install
31    * an include file                                  $(prefix)/include/iconv.h
32    * a DLL                                            $(prefix)/dll/iconv.dll
33    * an import library for .o (use without "-Zomf")   $(prefix)/lib/iconv.a
34    * an import library for .obj (use with "-Zomf")    $(prefix)/lib/iconv.lib
35    * a few manual pages                            $(prefix)/man/man3/iconv*.3
37 - Use:
39   Your main program should include <iconv.h> when using the iconv* functions.
41   If you compile as .o (no "-Zomf"), link with iconv.a.
42   If you compile as .obj (with "-Zomf"), link with iconv.lib.
44   The DLL was built with "-Zmt -Zcrtdll" options. So your main program must
45   be built with "-Zmt -Zcrtdll" as well (or the shorthand "-Zmtd").