I am experiencing different behavior when running make for a Cygwin C project in Eclipse vs the Cygwin shell.
The problem is that path names are being converted to windows paths.
My makefile:
all:
pwd
cd .; pwd
Running make in Cygwin shell (correct):
pwd
/cygdrive/c/myproject
cd .; pwd
/cygdrive/c/myproject
Running build in CDT (New Makefile Project from Existing Code, Cygwin toolchain):
make all
pwd
/cygdrive/c/myproject
cd .; pwd
C:\myproject
It sees that using '.' (or '..') cause the path to be "converted" to a windows path. Any suggestions?