I don't actually have an x86_64 machine to build or test stuff on, but since I had some issues reported with x86_64 compilation, I was wondering if I could cross-compile to x86_64 on my x86 machine to reproduce them.
Generating the toolchain on gentoo is pretty easy thanks to crossdev
USE="-*" crossdev -S --target x86_64-pc-linux-gnu
The gentoo cross-compilation guide explains how to cross-compile arbitrary packages
ROOT=/usr/x86_64-pc-linux-gnu/ CBUILD="i686-pc-linux-gnu" CHOST="x86_64-pc-linux-gnu" emerge libpcre
Obviously can't test any of it works, though :S

Leave a comment