x86_64 crosscompilation

| No Comments

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

About this Entry

This page contains a single entry by Jon published on September 1, 2008 6:53 PM.

Japanese text in mp3 tags to musictracker was the previous entry in this blog.

musictracker 0.4.7 changes is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.