philosophy around apt-get and cross compiling

Using Derek Molloy’s videos I’ve setup a Debian environment and Eclipse on a virtual machine to cross compile to Debian running on a BeagleBone Black. If I want to use a library like Boost, I need to get the library installed on both the BBB and the cross compiler Debian environment.

It’s easy enough to ‘apt-get install’ what I need on the BBB, but how do I get those same packages to install in my cross compile environment in the right architecture and in the right place (/usr/arm-linux-gnueabihf) and not in their normal x86 locations.

Thanks!