Depends on the compiler. If it is gcc, then you would add
Code:
-I /usr/local/packages/boost_1_47_0
to the compiler commandline, and you would add
Code:
-L /usr/local/packages/boost_1_47_0/stage/lib
to the linker commandline.
If you're doing this with a Makefile, or using an existing Makefile, the convention is to add those options to the CFLAGS and LDFLAGS variables, respectively.
--- rod.