-pthread was a switch in nagfor version < 6.0 but was removed.
short summary: -pthread was a switch in nagfor version < 6.0 but was removed. possible solution: gcc backend builds don't use the -pthread compile switch but use -lpthreads for linking pthread lib under linux. error message using nagfor 6.2: "Option error: Unrecognised option -pthread"