Reputation: 31
gcc -o program program.c `pkg-config --libs --cflags gtk+-2.0`
When I run the program, it show both the GUI and the terminal. How can I hide the terminal?
Upvotes: 1
Views: 551
Reputation: 79
You can double click on the executable named "program". Then you will not see the terminal.
Upvotes: 1