G++ Help
- From: carbonrocket@xxxxxxxxx
- Date: 23 Jan 2006 07:04:34 -0800
Hi all,
would anyone be able to help me complie a g++ app that uses the
pthreads library?
Ive created a class that wraps pthreads based on a listing from a book.
Mine did not compile so now I am trying to compile the code from the
book first. I have uploaded th source to crellbar.com/pthreads/
I try "g++ -lpthread Listing1-6.cpp" and it does not work, i assume
this is because I am using the linker incorrectly or something along
those lines. I did something similar in MS VS.net where I forgot to
compile with MFC but cant find a fix for g++ with pthreads under linux.
Essentially I am asking if I am compiling the files correctly.
Cheers.
Paul.
.
- Follow-Ups:
- Re: G++ Help
- From: moma
- Re: G++ Help
- From: Henri Herscher
- Re: G++ Help
- From: Henri Herscher
- Re: G++ Help
- From: Henri Herscher
- Re: G++ Help
- Prev by Date: Re: working with files the linux way...
- Next by Date: Re: G++ Help
- Previous by thread: Re: POSIX Timers on Linux 2.4
- Next by thread: Re: G++ Help
- Index(es):
Relevant Pages
|