Closed gustavolinux closed 1 year ago
I have not seen this before. What kind of Linux do you use?
What do these commands output for you? ls -la /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc echo cat /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc echo /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
ls -la /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
-rw-r--r-- 1 drummond drummond 127 dez 30 15:37 /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
cat /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
#!/bin/bash
BIN_DIR="$(dirname "$0")"
WINEDEBUG=-all WINEPREFIX="$BIN_DIR/.wineconf" wine "$BIN_DIR/$(basename "$0").exe" "$@"
echo /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
/home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc
I found out it was an issue related to pCloudDrive.... tried in a normal directory and it's working as normal now.
Yes, the issue was that gcc did not retain executable permission (the filesystem probably does not support it). It should have been -rwxr-xr-x
I'm having trouble to comple a sample here at ~/pCloudDrive/MegaDrive/SGDK/sample/joy-test
What should I do in this case?