This post is to remind me to edit it into the how I compiled XC32 1.22, or 1.31 (I forget) into a chroot debian on my Nexus 7 android device. With or without a commented line of code I shouldn't have modified, but hey It's my device and I'm never releasing it.
Also add the pic32prog AN133?something bootloader and pic2/pic3 programmer so I can even start from an out of the box chip (or a dev board without USB)