Project

General

Profile

Actions

DeprecatedNative64BitBuild » History » Revision 2

« Previous | Revision 2/10 (diff) | Next »
Paul Kocialkowski, 04/18/2011 10:04 AM


= Replicant Native 64 Bit Build =

This page explains how to configure a 64b native build. The goal is to build Replicant without the need of 32b compatibility libs and to produce 64b host binaries (adb, fastboot, emulator, etc).

'''Note: This is a quite experimental and long process. Although you don't risk any damage to your computer while trying to set this up, you should better already have basic knowledge about building gcc, dealing with Makefiles and other related stuff, since some errors may append.'''

Required tools

(Basic building tools)

Building the toolchain

First, you'll need to download and build binutils, gcc-core, gcc-g++, gmp and mpfr for arm-eabi:

{{{
mkdir replicant-toolchain
cd replicant-toolchain
wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.bz2
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.3/gcc-core-4.4.3.tar.bz2
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.3/gcc-g++-4.4.3.tar.bz2
wget http://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2
wget http://ftp.gnu.org/gnu/mpfr/mpfr-3.0.1.tar.bz2
tar -xf binutils-2.21.tar.bz2
tar -xf gcc-core-4.4.3.tar.bz2
tar -xf gcc-g++-4.4.3.tar.bz2
tar -xf gmp-4.3.2.tar.bz2
tar -xf mpfr-3.0.1.tar.bz2
}}}

Updated by Paul Kocialkowski about 13 years ago · 2 revisions

Also available in: PDF HTML TXT