Troubleshooting
Problem
This technote details how to resolve the make error, Target pattern contains no `%', that occurs when building projects on Cygwin compilers in IBM Rational Tau.
Symptom
This error is reported by Tau when building projects on Cygwin compilers.
Cause
If the Cygwin make version in use is 3.81 or later it does not support Windows drive letters in paths.
Resolving The Problem
To resolve this error the environment variable CYGDRIVE_PREFIX must be set with this value: /cygdrive/.
This screen capture illustrates setting the environment variable:
Note: Tau will translate the Microsoft Windows drive letters.

[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"4.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21395525