Next: , Previous: , Up: Problems with make   [Contents][Index]


8.2.8 makehelper.py config fails

When makehelper.py is run with the ‘config’ option, it generates a temporary .c file that it runs through the C preprocessor. Problems (e.g., agcc.exe: no input files’ error message) may occur when running under Cygwin (a Unix-like user environment for Microsoft Windows) with a Cygwin Python interpreter but a non- Cygwin C preprocessor (e.g.,  MinGW’s) because makehelper.py may try to pass a Unix-style filename to the C preprocessor, which expects to receive a Windows-style filename.

A workaround is to specify explicitly a temporary directory for makehelper.py to use. Use forward slashes and filenames without spaces (e.g., DOS-style 8.3 filenames) as in the following example:

make TEMP=C:/DOCUME~1/user/LOCALS~1/Temp
Scott Pakin, pakin@lanl.gov