What exactly is CCsh?
Who would need to use CCsh?
Why would system performance be increased?
What other benefits does CCsh provide?
What is the speed increase I can expect from using CCsh?
Will CCsh be useful to the average user in a normal day's activity?
How much does CCsh cost?
How much does technical support cost?
After a shell script has been compiled, can I bring the generated C code to other machines?
What does the runtime library do for me?
So, does this mean I need a runtime library for every machine?
Can CCsh run on any computer system?
Will CCsh be ported to other systems?
Will this include Berkeley UNIX systems?
In summary then, why is CCsh beneficial?
Do you have a question?
CCsh is a high quality programming tool that will transform your current Bourne Shell code into C language source code. The C code is then transparently compiled into an executable binary file by your C compiler.
In addition to this CCsh Faq, you can find various information about CCsh online:
Programmers and system administrators. Programmers would use it to turn their shell code or prototyped projects into C, and subsequently into an executable. System Administrators would use it to boost system performance with their current shell scripts and add power to newly developed shell scripts.
Since the shell is an interpreter, execution is slow. When a script is able to run in machine-readable form it will be many times faster. In addition, the a.out "sticky-bit" attribute can be set on the executable file output by CCsh. Therefore, system load from many perspectives can be reduced.
Source code protection, because the original shell script need not be readable after it has been compiled. Also, the a.out "setuid-bit" can be set on the resulting executable file.
Is this useful for programmers who don't know C?
Certainly! As long as you have a shell script, CCsh does the rest.
Anywhere from two to ten times the speed of the original shell script.
Yes. Most UNIX users develop and use a library of their own customized shell scripts as the years go by. Many of those scripts would be worth compiling through CCsh.
As CCsh is available for such a diversity of machines, please email us for current pricing and for details on your specific machine. Note that many ports
are done electronically.
Nothing! Tech support is obtained free of charge to licensed and registered customers, by contacting us.
That's as long as you use it!
Yes, but only if you have purchased a runtime library on the second machine and recompiled the generated C code.
The library contains many routines which support the execution of programs generated from the compiler, thus making the generated code more reliable.
Maybe. When you invoke CCsh it produces two files: a C language equivalent and a binary equivalent. You may use the binary equivalent on as many compatible machines as you wish. If you opt to bring the C code to any machine other than the original, then you must purchase additional runtime libraries. In general use (use on one machine), this will not affect you.
CCsh runs on all UNIX compatible machines including all UNIX 386's, LINUX/ELF, SCO, Solaris/SPARC and many others.
Yes, from time to time we will initiate ports to new platforms. Email us for a current list of machines.
Don't hesitate to email us to ask for a port. Many ports can be done electronically.
Yes. Since September 1992, CCsh has been available on BSD-based systems such as SunOS. Please contact us about new releases.
Since the shell is a full programming language that is both interactively accessible and easy to use, it offers a powerful environment for those needing fast prototyping techniques and access to a large command set. The shell, though, does have limitations. Most notably are lack of speed and "hogging" of system resources.
In addition, many applications that were prototyped in the shell will still
need to be hand-coded in C. This is both painful and error-prone. CCsh will automate this conversion resulting in an increase in program speed, security, and flexibility. All without the need to learn any new skills!
Do not hesitate to email us if you have any other questions or concerns you would like to see covered.
Copyright © Comeau Computing. All rights reserved.
Revised: July, 2013.