When compiling with boost library in Ubuntu, how can I make sure the GCC use my boost path?
The current Boost version in Ubuntu is 1.46.
I compile version 1.52.
I know I can use "-L/path/to/new/lib" to add library to the search path,but how can I make sure GCC wont link to the old library?
Regards, Tomer