README.in 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. This is a port of GNU Libcharset @VER@ 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 lcset@packageversion@b.zip or
  14. djtarx lcset@packageversion@b.zip or
  15. pkunzip -d lcset@packageversion@b.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 (patchlevel 2),
  20. bshNNNb.zip, gccNNNb.zip, bnuNNNb.zip, makNNNb.zip, filNNNb.zip,
  21. shlNNNb.zip, txtNNNb.zip, txiNNNb.zip, grepNNNb.zip and sedNNNb.zip
  22. NNN represents the latest version number of the binary packages. All
  23. this packages can be found in the current/v2gnu/ directory of any
  24. ftp.delorie.com mirror.
  25. 3.2.: Create a temporary directory and copy the source package: lcset@packageversion@s.zip
  26. into the temporary directory. If you download the source distribution
  27. from one of the DJGPP archives, just unzip it preserving the directory
  28. structure, runnig ONE of the following commands:
  29. unzip32 lcset@packageversion@s.zip or
  30. djtarx lcset@packageversion@s.zip or
  31. pkunzip -d lcset@packageversion@s.zip
  32. Source distributions downloaded from one of the GNU FTP sites need
  33. some more work to unpack. First, you MUST use the `djtar' program
  34. to unzip the package. That's because some file names in the official
  35. distributions need to be changed to avoid problems on the various
  36. platforms supported by DJGPP. `djtar' can rename files on the fly
  37. given a file with name mappings. The distribution includes a file
  38. `djgpp/fnchange.lst' with the necessary mappings. So you need first
  39. to retrieve that file, and then invoke `djtar' to unpack the
  40. distribution. Here's how:
  41. djtar -x -p -o @V@/djgpp/fnchange.lst @V@.tar.gz > lst
  42. djtar -x -n lst @V@.tar.gz
  43. (The name of the distribution archive and the top-level directory will
  44. be different for versions other than @VER@.)
  45. 3.3.: If you have downloaded the source package from one of the GNU FTP sites
  46. you will have to configure the package running the command:
  47. djgpp\config.bat
  48. 3.4.: If you have downloaded the source package from one of the delorie FTP
  49. sites the package is already preconfigured for djdev203 or later. In
  50. any case, to build the products you must run the following command:
  51. make
  52. After the compilation has finished, you can check the products
  53. running the command:
  54. make check
  55. To install the products run the command:
  56. make install
  57. This will install the products (localcharset.h, libcharset.a) into your
  58. DJGPP installation tree. As usual, prefix is defined as "/dev/env/DJDIR".
  59. If you prefer to install into same other directory, run the command:
  60. make install prefix=z:/some/other/dir
  61. Of course, you should replace "z:/some/other/dir" by an appropriate path
  62. that will meet your requeriments.
  63. 3.5.: If for some reason you want to reconfigure the package cd into the top
  64. srcdir (libchset.@treeversion@) and run the following commands:
  65. del djgpp\config.cache
  66. make distclean
  67. djgpp\config
  68. Please note that you *MUST* delete the config.cache file in the djgpp
  69. subdir or you will not really reconfigure the sources because the
  70. configuration informations will be read from the cache file instead
  71. of being newly computed.
  72. To build the programs in a directory other than where the sources are,
  73. you must add the parameter that specifies the source directory,
  74. e.g:
  75. x:\src\gnu\libchset.@treeversion@\djgpp\config x:/src/gnu/libchset.@treeversion@
  76. Lets assume you want to build the binaries in a directory placed on a
  77. different drive (z:\build in this case) from where the sources are,
  78. then you will run the following commands:
  79. z:
  80. md \build
  81. cd \build
  82. x:\src\gnu\libchset.@treeversion@\djgpp\config x:/src/gnu/libchset.@treeversion@
  83. You *MUST* use forward slashes to specify the source directory.
  84. After having configured the package run the folowing commands to create
  85. the binaries and docs and install them:
  86. make
  87. make check
  88. make install
  89. Send suggestions and bug reports concerning the DJGPP port to
  90. comp.os.msdos.djgpp or djgpp@delorie.com. Libcharset specific
  91. bugs must be reported to <bug-gnu-libiconv@gnu.org>.
  92. Guerrero, Juan Manuel <juan.guerrero@gmx.de>