I am running WSL1. I created a file in my home dir, ie home/username
. I have a .exe file called armcc.exe in my C:\ directory. I can run something like this from the linux shell:
/mnt/c/armcc.exe /mnt/c/test/foo.c
However if I create a file under /home/username
, the executable is not able to access the file, ie this command fails:
/mnt/c/armcc.exe /home/username/foo.c
I get an error "no source": Error: #5: cannot open source input file
from the compiler's executable.
This seems like the Windows filesystem cannot access the Linux side. How can I achieve this, if at all?