[Mono-list] how to add C package to compiler

Chris Howie cdhowie at gmail.com
Wed Nov 26 16:22:56 EST 2008

On Wed, Nov 26, 2008 at 9:38 AM, YyYo <yossiozani at gmail.com> wrote:
> Hi All
> until now I used to write simple programs using text editors(like nedit) and
> to compile the program in the terminal using gcc.
> I start using monodevelop and its much comfortable.
> my problem is that when I use threads I don't know how to add to the
> compiler the -pthread library.
> until now I done it this: gcc -pthread program.c

I think you can just right-click the references folder in your
project, select edit, and check the pthreads library.

Chris Howie

More information about the Mono-list mailing list