Specifying Cygwin paths in 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:

set CYGPATH=C:/cygwin/bin/cygpath.exe

You can now specify file locations in the compilation tools command-line options using the Cygwin path format. For example, to compile the file /cygdrive/h/main.c, enter the command:

armcc -c --debug /cygdrive/h/main.c

Show/hideSee also


Assembler Reference:

Compiler Reference:

Linker Reference:

Creating Static Software Libraries with armar:

Using the fromelf Image Converter:

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0529C