Home | History | Annotate | Download | only in compat
      1 Copyright (c) 2007, International Business Machines Corporation and others. All Rights Reserved.
      2 
      3 tzone.pl : A perl script that test the timezone information between the system time and ICU time.
      4 
      5          
      6 Files:
      7     tzdate.c                    Source file that compares the ICU time and system time.
      8     Makefile.in					Use to create the Makefile
      9     tzone.pl					Perl script that calls the tzdate program with the correct TZ and arguments.
     10 
     11 To Build on Unixes
     12     1.  Build ICU.  tzdate is not built automatically.
     13         Specify an ICU install directory when running configure,
     14         using the --prefix option.  The steps to build ICU will look something
     15         like this:
     16            cd <icu directory>/source
     17            runConfigureICU <platform-name> --prefix <icu install directory> [other options]
     18            gmake all
     19            
     20     2.  Install ICU, 
     21            gmake install
     22            
     23  To Run on Unixes
     24            cd <icu directory>/source/test/compat
     25 
     26            export LD_LIBRARY_PATH=<icu install directory>/lib:.:$LD_LIBRARY_PATH
     27            gmake
     28            
     29            tzone.pl
     30            		-This will use the current date.
     31            		-To use a different date, you must specify by:  
     32            tzone.pl year month day
     33            		-All three arguments are integer values
     34            
     35            
     36  Note:  The name of the LD_LIBRARY_PATH variable is different on some systems.
     37         If in doubt, run the sample using "gmake check", and note the name of
     38         the variable that is used there.  LD_LIBRARY_PATH is the correct name
     39         for Linux and Solaris.
     40 
     41