Other commenters have pointed out how tricky cross compiling can be. Debian has been making a lot of progress here, most thanks to Helmut Grohne it seems. http://crossqa.debian.net/https://wiki.debian.org/DebianBootstrap (slightly out of date, but still useful)