On Sat, Apr 26, 2008 at 12:48 PM, Mohan gupta <<a href="mailto:mohangupta13@gmail.com">mohangupta13@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> can you please tell me whats the comand to compile programs which uses boost/thread libraries ...on gnu g++ on comand line <br>( im using fedora core 8)</blockquote><div><br>I'm using 1.35, which I built myself, on my linux box (ubuntu Gutsy). <br> <br>The code compiles fine without any bells and whistles using the following command:<br></div></div>g++ -I/usr/local/include/boost-1_35 -c foo.cpp<br><br>Assuming:<br>1. The boost headers are installed in /usr/local/include/boost-1_35<br> 2. Your source file is foo.cpp<br><br>I *highly* recommend learning how to use your compiler *before* playing with boost too extensively.<br><br>Jon<br>