Sublime Forum

Error when running C-code

#1

Hi

I’m new to Sublime. I just installed it on Mint following instructions on “https://www.sublimetext.com/docs/linux_repositories.html”.

When trying to build some C-code i get something like “gcc: fatal error: input file ‘******’ is the same as output file”.

Some help would be great.

thx

0 Likes

#2

Have you given your file a .c extension?

0 Likes

#3

thx @bschaaf

Got it. Didn’t know. Changed the files name to <name>.c. Now seems to be running. Actually no output to the appropriate pane, but process monitor shows the file to use resources.

thx again

0 Likes