Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: README.chromium

Issue 11363231: Update README.chromium for gold linker. (Closed) Base URL: http://git.chromium.org/chromium/deps/gold.git@master
Patch Set: remove binaries Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.chromium
diff --git a/README.chromium b/README.chromium
index bbd2a94b9ce034780fa8aecaa941ce9cc0702fbe..9403f8ba397ed8c76c7e0cb8e356378c387f08c1 100644
--- a/README.chromium
+++ b/README.chromium
@@ -1,18 +1,28 @@
Name: gold
URL: http://www.gnu.org/software/binutils/
-Version: 2.21.1
+Version: 2.23.1
License: GPL v2
Security Critical: no
Description:
-This directory contains a binary of the gold linker from GNU binutils.
-It was built from binutils-2.21.1 on 64-bit Ubuntu Lucid as follows:
+This directory contains i386 and amd64 binaries of the gold linker from GNU
+binutils. They were built from binutils-2.23.1 on Ubuntu Lucid as follows:
-1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.21.1.tar.bz2
+1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2
2) Unpack, then
./configure --enable-gold=default --enable-threads
-3) make maybe-all-gold; strip gold/ld-new
-4) mv gold/ld-new path/to/this/dir/gold64
+3) make maybe-all-gold && strip gold/ld-new
+4) mv gold/ld-new path/to/this/dir/gold64 (or gold32)
+
+To build on a non-Lucid (e.g. Precise) machine, or to build the 32-bit binary
+on a 64-bit machine, a chroot can be used by running the following commands as
+root (swap i386 for amd64 as needed):
+
+ debootstrap --arch=i386 --include=build-essential,flex,bison \
+ lucid i386-lucid
+ chroot i386-lucid
+
+Then follow steps 1-4 above.
(ld.bfd is a forwarding script that is in place because the NaCl build
depends on there being a script with that name in the same directory as
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698