Creating Package Indexes
After you compile Tcl package scripts into .tbc files, you can use the pkg_mkIndex command to create package index files for your .tbc files. After creating the index files, users of your package will transparently load your bytecode files instead of the original script. Creating package index files for .tbc files requires the pkg_mkIndex load tbcload option:
C:> pkg_mkIndex -load tbcload $dir *.tbc
Note: You must use Tcl 8.0.5 or later to create package index files for your .tbc files.
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |