-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b101
-
generic
-
generic
Use of GNU make 3.81 with MKS on windows has an issue with command lines that escape double quotes, patterns like
-DARCH=\"$(ARCH)\"
need to change to:
-DARCH='"$(ARCH)"'
As long as the contents inside the '' characters is expanded by the GNU make tool and not shell expansions. Normally text inside '' characters in shells will not expand variables.
This problem is unique to GNU make when used with MKS and only on windows. Use of MKS provides a build time improvement and is still used in the Release Engineering process and some of the automated build systems instead of CYGWIN make (which does not have a problem here).
-DARCH=\"$(ARCH)\"
need to change to:
-DARCH='"$(ARCH)"'
As long as the contents inside the '' characters is expanded by the GNU make tool and not shell expansions. Normally text inside '' characters in shells will not expand variables.
This problem is unique to GNU make when used with MKS and only on windows. Use of MKS provides a build time improvement and is still used in the Release Engineering process and some of the automated build systems instead of CYGWIN make (which does not have a problem here).
- relates to
-
JDK-6909026 Change GNU make version requirement to 3.81
-
- Resolved
-