I just simply want to execute a given c source file, which I need to compile (I assume with gcc???) to create an executable then.
I found this website:
https://www.cyberciti.biz/faq/howto-com ... pile-demo/
but none of the three alternatives were working.
When I start this:
Code: Select all
gcc packet_sniff_raw_subodh.c -o packet_sniff_raw_subodh.o
Code: Select all
gcc-config: error: could not run/locate 'gcc'
And I have some experience with complete source directories including make files, where I can create executable files with the three steps:
Code: Select all
./configure
make
make install
The thing is, in this case here I have just only a single .c file. How do I get it executable?
Thank you in advance.
-Linuxfluesterer (I love KDE...)