26 Apr
2008
26 Apr
'08
8:17 p.m.
On Sat, Apr 26, 2008 at 12:48 PM, Mohan gupta
can you please tell me whats the comand to compile programs which uses boost/thread libraries ...on gnu g++ on comand line ( im using fedora core 8)
I'm using 1.35, which I built myself, on my linux box (ubuntu Gutsy). The code compiles fine without any bells and whistles using the following command: g++ -I/usr/local/include/boost-1_35 -c foo.cpp Assuming: 1. The boost headers are installed in /usr/local/include/boost-1_35 2. Your source file is foo.cpp I *highly* recommend learning how to use your compiler *before* playing with boost too extensively. Jon