What might be causing this sort of error? I am currently using lcov with Cygwin, and do not encounter any issues accessing/reading-from/writing-to the specified path when using gcc or any other Linux commands.
Just to demonstrate my exact process...
caffeine@ENG-INT /cygdrive/c/Users/caffeine/My Documents/$gcc -Wall -fprofile-arcs -ftest-coverage -o cov.exe cov.c
caffeine@ENG-INT /cygdrive/c/Users/caffeine/My Documents/$ ./cov.exe
caffeine@ENG-INT /cygdrive/c/Users/caffeine/My Documents/$ lcov --capture --directory c:/Users/caffeine/My\ Documents --output-file coverage.info
*****That last command gives this output to the console, and I cannot wrap my head around it
Capturing coverage data from c:/Users/caffeine/My Documents
Found gcov version: 5.3.0
Scanning c:/Users/caffeine/My Documents for .gcda files ...
Found 1 data files in c:/Users/caffeine/My Documents
Processing cov.gcda
geninfo:
ERROR: cannot write to directory /cygdrive/c/Users/caffeine/My Documents/c:/Users/caffeine/My Documents!
Any ideas?