cygwin gcc no such file error
Posted: Tue Sep 23, 2014 6:16 pm
I am trying to use a cygwin gcc compiler.
When I build I get a "No such file or directory" error, but the file exists!
If I use a batch file to launch the compiler it works fine, so I know all the paths are correct.
I have no idea what to do.
I am using Windows 7-64. Does CodeLite only work on Linux?
When I build I get a "No such file or directory" error, but the file exists!
If I use a batch file to launch the compiler it works fine, so I know all the paths are correct.
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make -e -f Makefile"
----------Building project:[ test_1 - Debug ]----------
mingw32-make[1]: Entering directory 'C:/Users/user.name/Documents/CodeLite/Workspace/test_1'
C:/cygwin/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/bin/gcc.exe -c "C:/Users/user.name/Documents/CodeLite/Workspace/test_1/main.c" -g -O0 -Wall -o ./Debug/main.c.o -I. -I.
gcc: C:/Users/user.name/Documents/CodeLite/Workspace/test_1/main.c -g: No such file or directory
gcc: no input files
mingw32-make[1]: *** [Debug/main.c.o] Error 1
mingw32-make: *** [All] Error 2
test_1.mk:94: recipe for target 'Debug/main.c.o' failed
mingw32-make[1]: Leaving directory 'C:/Users/user.name/Documents/CodeLite/Workspace/test_1'
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
I have no idea what to do.
I am using Windows 7-64. Does CodeLite only work on Linux?