Troubleshooting
Problem
When you have Cygwin and Rational® Software Architect (RSA) installed and are using make, gcc, g++, gdb, etc. at the command line, you might see several errors in the console window.
Cause
The source of the problem is the location of the c:\cygwin\bin in the user's PATH environment variable.
Resolving The Problem
The errors that appear in the Rational Software Architect console window are:
make -k clean all
rm -rf circle.o cube.o main.o sphere.o square.o tetrahedron.o triangle.o circle.d cube.d main.d sphere.d square.d tetrahedron.d triangle.d Shape.exe
make: rm: Command not found
make: [clean] Error 127 (ignored)
make: echo: Command not found
make: *** [circle.o] Error 127
You can find "rm" and "echo" at the command line, but "make" cannot find "rm" or "echo" when it runs commands from the Makefile inside RSA.
The best way to resolve this is to remove the double quotation marks from the Windows PATH, and restart the application. This is done by following these steps:
- Go to Start > Settings > Control Panel
- Select System
- Go to the Advanced tab
- Select Environment Variables
- Under the System Variables, find the Path and edit that path
Another option is to move the c:\cygwin\bin to the beginning of your PATH, and restart the application. You can modify the path by following steps 1 through 5 above.
Was this topic helpful?
Document Information
Modified date:
10 September 2020
UID
swg21202071