Home Download Buy Blog Forum Support

Creating a Build System for C

Creating a Build System for C

Postby BUGMENOT! on Fri May 09, 2014 1:07 am

Here is the error that I am getting:
Code: Select all
/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:
Code: Select all
"cmd" : ["C:/cygwin64/bin/gcc.exe", "-std=c89", "-pedantic", "-Wall", "$file_name", "-o", "${file_base_name}.exe"],
"selector" : "source.c",
"working_dir" : "$file_path"

Code: Select all
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?
Posts: 24
Joined: Thu Sep 19, 2013 1:54 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 30 guests