how comile C program in linux

Type the command :

gcc -o hello hello.c

invovling phtread in linux, then:

gcc -phtread -o hello hello.c

quoto from stackoverflow’s answer:

In general, libraries should follow sources and objects on command line
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.