Here is the error that I am getting:
/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
[Finished in 0.1s with exit code 1]
How my build file looks like:
{
"cmd" : "C:/cygwin64/bin/gcc.exe", "-std=c89", "-pedantic", "-Wall", "$file_name", "-o", "${file_base_name}.exe"],
"selector" : "source.c",
"shell":true,
"working_dir" : "$file_path"
}
Console:
Running C:/cygwin64/bin/gcc.exe -std=c89 -pedantic -Wall hw5.c -o hw5.exe
If I just open Cygwin, navigate to where my c file is stored and do gcc filename.c then it works, but it for sublime it gives that above error. What am I doing wrong?