generate TCP file of charDecls, and new entity file, for charmap