scuffed-code/icu4c/source/tools/genren
2001-09-24 22:35:26 +00:00
..
genren.pl ICU-392 C++ classes get renamed only if dealing with C++ 2001-09-24 22:35:26 +00:00
README ICU-392 added README and updated the script so that it automatically greps the version from uversion.h 2001-07-25 20:21:54 +00:00

The genren.pl script is used to generate source/common/unicode/urename.h header file, which is needed for renaming the ICU exported names. 

This script is intended to be used on Linux, although it should work on any platform that has Perl and nm command.

The following instructions are for Linux version.
- urename.h file should be generated after implementation is complete for a release.
- the version number for a release should be set according to the list in source/common/unicode/uversion.h
- source/common/unicode/utypes.h header should be edited to comment out #include "unicode/urename.h" line. THIS CHANGE SHOULD NOT BE COMMITED BACK TO CVS.
- ICU library should be built and installed.
- Layout engine should be built and installed (it is not currently built by default)
- In the directory where ICU libraries are installed, run 
genren.pl libicuuc.so libicui18n.so libiculayout.so
this will produce the urename.h header file
- copy urename.h to source/common/unicode directory, overwriting the old version. Commit it.
- Unedit changes to utypes.h