PDA

View Full Version : [kubuntu] Setup Kdevelop to compile C programs



dzchimp
April 25th, 2012, 02:03 PM
I've installed Kdevelop, and need a bit of help to setup for compiling with gcc.

http://droidzone.in/images/screenshots/Selection_005.jpeg

I need to find the variable that stands for the current source file, so that I can pass an argument like:

gcc %filename -o filenamewithoutextension

Example:

gcc test.c -o test

Or is there a simpler way to set up Kdevelop?

Asraniel
April 26th, 2012, 10:17 AM
You might get more help in the kdevelop forum:

http://forum.kde.org/viewforum.php?f=218

mksh2012
April 26th, 2012, 10:30 AM
thanks buddy for share this post.
http://droidzone.in/images/screenshots/Selection_005.jpeg

I need to find the variable that stands for the current source file, so that I can pass an argument like:

gcc %filename -o filenamewithoutextension

Example:

gcc test.c -o test

Or is there a simpler way to set up Kdevelop?[/QUOTE]

dzchimp
April 26th, 2012, 12:19 PM
You might get more help in the kdevelop forum:

http://forum.kde.org/viewforum.php?f=218

Thanks. I've opened a thread there.