CH installation
* Ch Professional Edition
chprofessional-5.1.0.linux2.2.5.intel.tar.gz Size: 15.41 Mb
* Use the following commands to install the software:
gzip -cd chprofessional-5.1.0.linux2.2.5.intel.tar.gz | tar -xvof -
cd chprofessional-5.1.0.linux2.2.5.intel
run "sh ./install.sh" for chprofessional-5.1.0.linux2.2.5.intel.tar.gz
run "ch ./install.ch" for other packages
Note: Tips for Using Ch
* If it is the first time to run Ch. run ch -d to create a Ch startup configuration file in your home directory. To get started, type help at the Ch shell prompt.
If you don't want to use Ch in a command shell, please try Ch IDE (Integrated Development Environment) from SoftIntegration partners. Ch IDE allows you to edit and execute C/Ch/C++ programs, and display the output within the same Graphical User Interface.
* In the Ch shell, you can simply type the C/Ch file name to run your program (you need to run "chmod +x file_name.c" first in Unix, Mac) If you have multiple files for a program, click here to see how to run the program without Makefile:
* Ch supports shell programming. Unix commands such as awk and sed can be used inside Ch scripts as in Perl, Bash, or csh. Ch built-in string type string_t and foreach-loop are especially useful for shell programming. Below is an example
-------------------------------------------------------------------------------------------
I ran into problems when installing the above program. What is the use of this ' tar -xvof ' ?
It complained about the 'tar' . What is the problem? Read the following, please.
[root@c83-250-90-204 nissanka]# gzip -cd chprofessional-5.1.0.linux2.2.5.intel.tar.gz | tar -xvof
tar: option requires an argument -- f
Try `tar --help' for more information.
[root@c83-250-90-204 nissanka]#
Your help is deeply appreciated.
Last edited by Gins; 10-17-2005 at 01:26 PM.
|