Project

General

Profile

DeprecatedNative64BitBuild » History » Version 2

Paul Kocialkowski, 04/18/2011 10:04 AM

1 2 Paul Kocialkowski
= Replicant Native 64 Bit Build =
2
3 1 Paul Kocialkowski
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).
4
5
'''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.''' 
6 2 Paul Kocialkowski
7
== Required tools ==
8
9
(Basic building tools)
10
11
== Building the toolchain ==
12
13
First, you'll need to download and build binutils, gcc-core, gcc-g++, gmp and mpfr for arm-eabi:
14
15
{{{
16
mkdir replicant-toolchain
17
cd replicant-toolchain
18
wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.bz2
19
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.3/gcc-core-4.4.3.tar.bz2
20
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.3/gcc-g++-4.4.3.tar.bz2
21
wget http://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2
22
wget http://ftp.gnu.org/gnu/mpfr/mpfr-3.0.1.tar.bz2
23
tar -xf binutils-2.21.tar.bz2
24
tar -xf gcc-core-4.4.3.tar.bz2
25
tar -xf gcc-g++-4.4.3.tar.bz2
26
tar -xf gmp-4.3.2.tar.bz2
27
tar -xf mpfr-3.0.1.tar.bz2
28
}}}