How do I compile C or C++ programs on cpw?
You have to be careful to use the right version of gcc. It is located in /usr/local/gcc/bin and not /usr/bin, so you will have to edit your PATH variable as follows: Under tcsh type: setenv PATH /usr/local/gcc/bin:$PATH Under bash type: set PATH=/usr/local/gcc/bin:$PATH Or, you can edit the path in your .login file. If you have questions or comments, please use our feedback form. This page has had [an error occurred while processing this directive].