[Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't

bkpsusmitaa bkpsusmitaa at xxxxx
Sat May 2 14:49:04 UTC 2015


Dear members,
I installed freeglut3 in my Debian-knoppix system.

When I use gcc compiler, I write a code like this:
 gcc abc.c -l glut
 or
 gcc abc.c -l glut -o test
as the case may be. The program compiles okay.

But I use geany for easier tracking. Unfortunately, geany's build code
is bit ambiguous. It is:
gcc -Wall -c "%f" for compile
gcc -Wall -o "%e" "%f" for build

How do I pass the glut lib in geany?
Regards.
Rajib


More information about the Users mailing list