When I generate the Board Support Package for Linux, I get an error message similar to the following:
ERROR:EDK - linux_2_6 () - cygwin warning: MS-DOS style path detected: C:/Xilinx/12.1_SDK/SDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_00_a/src/ Preferred POSIX equivalent is: /cygdrive/c/Xilinx/12.1_SDK/SDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_00_a/ src/ CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames ERROR:EDK - Error(s) while running TCL procedure post_generate(). make: *** [ppc440_0/lib/libxil.a] Error 2
解决方案
Setting the recommended environment variable will work for Windows as this is a Windows only problem:
1. Right click on the My Computer icon and select properties 2. Select the advance tab 3. Select the Environment Variables button 4. Under System Variables, select the New button 5. The Variable Name is CYGWIN 6. The Variable Value is nodosfilewarning
The tools generate an error when this variable is not set because of the warning message code that is thrown by Cygwin. This problem is fixed in 12.2.