Closed BohuTANG closed 13 years ago
Many projects put that in the makefile, in a variable called LDLIBS. Actually, you're free to set up your build system however you like; the makefile in this repo is only a tiny example to give the idea. Since there's so much variety in how people build their programs, it's not possible for me to give instructions that work for any situation.
Hi,if the code using "pthread_create" method,using tc to make ,will occus "undefined reference to `pthread_create'",where to add " -pthread"?