OLD | NEW |
1 Name: gold | 1 Name: gold |
2 URL: http://www.gnu.org/software/binutils/ | 2 URL: http://www.gnu.org/software/binutils/ |
3 Version: 2.21.1 | 3 Version: 2.23.1 |
4 License: GPL v2 | 4 License: GPL v2 |
5 Security Critical: no | 5 Security Critical: no |
6 | 6 |
7 Description: | 7 Description: |
8 This directory contains a binary of the gold linker from GNU binutils. | 8 This directory contains i386 and amd64 binaries of the gold linker from GNU |
9 It was built from binutils-2.21.1 on 64-bit Ubuntu Lucid as follows: | 9 binutils. They were built from binutils-2.23.1 on Ubuntu Lucid as follows: |
10 | 10 |
11 1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.21.1.tar.bz2 | 11 1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2 |
12 2) Unpack, then | 12 2) Unpack, then |
13 ./configure --enable-gold=default --enable-threads | 13 ./configure --enable-gold=default --enable-threads |
14 3) make maybe-all-gold; strip gold/ld-new | 14 3) make maybe-all-gold && strip gold/ld-new |
15 4) mv gold/ld-new path/to/this/dir/gold64 | 15 4) mv gold/ld-new path/to/this/dir/gold64 (or gold32) |
| 16 |
| 17 To build on a non-Lucid (e.g. Precise) machine, or to build the 32-bit binary |
| 18 on a 64-bit machine, a chroot can be used by running the following commands as |
| 19 root (swap i386 for amd64 as needed): |
| 20 |
| 21 debootstrap --arch=i386 --include=build-essential,flex,bison \ |
| 22 lucid i386-lucid |
| 23 chroot i386-lucid |
| 24 |
| 25 Then follow steps 1-4 above. |
16 | 26 |
17 (ld.bfd is a forwarding script that is in place because the NaCl build | 27 (ld.bfd is a forwarding script that is in place because the NaCl build |
18 depends on there being a script with that name in the same directory as | 28 depends on there being a script with that name in the same directory as |
19 ld.) | 29 ld.) |
OLD | NEW |