Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I compile C or C++ programs on cpw?

cpw Programs
0
Posted

How do I compile C or C++ programs on cpw?

0

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].

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123