|Non-Confidential||PDF version||ARM DUI0529M|
|Home > Overview of ARM Compiler > About specifying Cygwin paths in compilation tools on Windows|
You must use an environment variable to specify Cygwin paths for compilation tools on Windows.
By default on Windows, the compilation tools require path names to be in the Windows DOS
format, for example, C:\myfiles. If you want to use Cygwin path names,
then set the
CYGPATH environment variable to the location of the
cygpath.exe file on your system. For example:
You can now specify file locations in the compilation tools command-line options using the Cygwin path format. The paths are translated by cygpath.exe. For example, to compile the file /cygdrive/h/main.c, enter the command:
armcc -c --debug /cygdrive/h/main.c
You can still specify paths that start with:
A drive letter, for example C:\ or C:/.
UNC, for example, \\computer.
The compilation tools do not translate these paths because the paths are already in a form that Windows understands.
Be aware of the following limitations with
Cygwin path translation enabled by
CYGPATH is only supported on 32-bit Windows platforms, and
is not supported on Windows Server 2012 and 64-bit Windows 8.1.
When using a Cygwin style path with spaces or other special terminal characters, the path must be double quoted:
The use of single quotes or escaping characters is not supported.
The use of literal doublequote characters in path names is not supported.