I'm having a problem with compiling a C program in Netbeans. I can complile it with no problem in Shell using this command line: gcc test.c -o test -lm -pthread
. Is it possible to configure Netbeans to compile the project with the -lm
and -pthread
arguments?
Asked
Active
Viewed 2,394 times
1 Answers
3
Right click on your project (in the project tree) and choose "Project properties".
Then navigate to "Compiling" under "Build" and then there should be a field "Additional Compiler Options".

rainman
- 121
- 4