README 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. This is a port of GNU Libiconv 1.11 to MSDOS/DJGPP.
  2. 1.: DJGPP specific changes.
  3. =======================
  4. There are no DJGPP specific changes. This package should
  5. configure and compile out-of-the-box.
  6. Please read the documentation to become familiar with this
  7. product.
  8. 2.: Installing the binary package.
  9. ==============================
  10. 2.1.: Copy the binary distribution into the top DJGPP installation
  11. directory and unzip the binary distribution running *ONE* of
  12. the following commands:
  13. unzip32 licv111b.zip or
  14. djtarx licv111b.zip or
  15. pkunzip -d licv111b.zip
  16. 3.: Building the binaries from sources.
  17. ===================================
  18. 3.1.: To build the binaries you will need the following binary packages:
  19. djdev203.zip, bsh204b.zip, gcc2952b.zip,
  20. bnu210b.zip, mak3791b.zip, fil316b.zip,
  21. shl112b.zip, txt20b.zip, txi40b.zip,
  22. grep24b.zip and sed302b.zip
  23. All this packages can be found in the v2gnu directory of any
  24. Simtel.NET mirror.
  25. You will need bsh204b.zip and *NOT* a prior version or the build will fail.
  26. The same applies to djdev203.zip. You *MUST* use the updated versions of
  27. fil316b.zip (date: 2000-05-30) and shl112b.zip (date: 2000-08-11). This
  28. updated versions have been recompiled with djdev203.zip and know about
  29. the "/dev/env" functionality introduced with djdev203.zip. All the other
  30. packages are the ones I have used to build the binaries from this sources.
  31. Previuos and/or later versions of this packages may do the job as well but
  32. I have not tested this.
  33. 3.2.: Create a temporary directory and copy the source package: licv111s.zip
  34. into the temporary directory. If you download the source distribution
  35. from one of the DJGPP archives, just unzip it preserving the directory
  36. structure, runnig ONE of the following commands:
  37. unzip32 licv111s.zip or
  38. djtarx licv111s.zip or
  39. pkunzip -d licv111s.zip
  40. Source distributions downloaded from one of the GNU FTP sites need
  41. some more work to unpack. First, you MUST use the `djtar' program to
  42. unzip the package. That's because some file names in the official
  43. distributions need to be changed to avoid problems on the various
  44. platforms supported by DJGPP. `djtar' can rename files on the fly
  45. given a file with name mappings. The distribution includes a file
  46. `djgpp/fnchange.lst' with the necessary mappings. So you need first
  47. to retrieve that file, and then invoke `djtar' to unpack the
  48. distribution. Here's how:
  49. djtar -x -p -o libiconv-1.11/djgpp/fnchange.lst libiconv-1.11.tar.gz > lst
  50. djtar -x -n lst libiconv-1.11.tar.gz
  51. (The name of the distribution archive and the top-level directory will
  52. be different for versions other than 1.11.)
  53. 3.3.: The package is preconfigured for djdev203. To build the products you
  54. should run the following command:
  55. make
  56. After the compilation has finished, you can check the products
  57. running the command:
  58. make check
  59. To install the products run the command:
  60. make install
  61. This will install the products (iconv.exe iconv.h localcharset.h libconv.a
  62. libcharset.a iconv.1 iconv.3 iconv_open.3 iconv_close.3) into your DJGPP
  63. installation tree. As usual, prefix is defined as "/dev/env/DJDIR".
  64. If you prefer to install into same other directory run the command:
  65. make install prefix=z:/some/other/dir
  66. Of course, you should replace "z:/some/other/dir" by an appropriate path
  67. that will meet your requeriments.
  68. 3.4.: If you need/want to reconfigure the package you will have to run the
  69. following commands:
  70. make distclean
  71. djgpp\config
  72. Please note that you *MUST* use the "distclean" option or the config.cache
  73. file will *NOT* be deleted. In this case you are *NOT* reconfiguring
  74. because the configuration informations is read from the cache file instead
  75. of being newly computed.
  76. To build the programs in a directory other than where the sources are,
  77. you must add the parameter that specifies the source directory,
  78. e.g:
  79. x:\src\gnu\libiconv.16\djgpp\config x:/src/gnu/libiconv.16
  80. Lets assume you want to build the binaries in a directory placed on a
  81. different drive (z:\build in this case) from where the sources are,
  82. then you will run the following commands:
  83. z:
  84. md \build
  85. cd \build
  86. x:\src\gnu\libiconv.16\djgpp\config x:/src/gnu/libiconv.16
  87. You *MUST* use forward slashes to specify the source directory.
  88. After having configured the package run the folowing commands to create
  89. the binaries and docs and install them:
  90. make
  91. make check
  92. make install
  93. Send suggestions and bug reports concerning the DJGPP port to
  94. comp.os.msdos.djgpp or djgpp@delorie.com. Libiconv specific bugs
  95. must be reported to Bruno Haible <haible@clisp.cons.org>.
  96. Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>