The initial question has been posted quite some time ago and in the meantime Debian has made huge headway in the area of multiarch support.
Multiarch is a great achievement for cross compilation!
In a nutshell the following steps are required to leverage multiarch for Raspbian Jessie cross compilation:
- On your Ubuntu host install Debian Jessie amd64 within a chroot or a LXC container.
- Enable the foreign architecture armhf.
- Install the cross compiler from the emdebian tools repository.
- Tweak the cross compiler (it would generate code for ARMv7-A by default) by writing a custom gcc specs file.
- Install armhf libraries (libstdc++ etc.) from the Raspbian repository.
- Build your source code.
Since this is a lot of work I have automated the above setup. You can read about it here:
Cross Compiling for Raspbian