When configuring adt_installer, the YOCTOADT_TARGET_SYSROOT_LOC_* variable can be set to either absolute or relative location. After installing the ADT toolchain & sysroot and sourcing the environment, compilation will only work if run from under the adt installation directory. The CC var will look like this: CC="x86_64-poky-linux-gcc -m64 --sysroot=./test-yocto/x86_64/"
Patch sent on the ML for review.
Merged to master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=519a8acdcb2866cd14dc558358abfb9b27983dc2