Results 1 to 2 of 2
Hi everyone,
I have some C source code that exists in several files. The creator of the source code says to run a specific file (we'll call it 'mainfile') that ...
- 03-14-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
How to compile c source code with a c shell file in LINUX??
Hi everyone,
I have some C source code that exists in several files. The creator of the source code says to run a specific file (we'll call it 'mainfile') that will compile all the C code. I looked at the file type and it is an 'x-csh' file type. I've spent hours but for some reason I absolutely cannot get this thing to execute...can anyone help?? I am very new to LINUX. Thanks so much.
- 03-15-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
Make sure you own it and you've made it executable (chmod +x filename) then run it directly by file name or use a ./ before the file. If you don't find a filetype listed in linux don't sweat it, I can send you a text file named "open_this.file" and you'll still be able to open it and read it. If you make "open_this.file" executable (with a chmod +x) the kernel will try to run it as a script if it recognizes the interpreter.


Reply With Quote