P. 1
CLFS SPARC-64 Pure 64

CLFS SPARC-64 Pure 64

|Views: 38|Likes:
Published by aqua01

More info:

Published by: aqua01 on Sep 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/01/2011

pdf

text

original

The Binutils package contains a linker, an assembler, and other tools for handling object files.

6.3.1. Installation of Binutils

To make sure that the proper syntax is used for a couple of tools, apply the following patch:

patch -Np1 -i ../binutils-2.18-posix-1.patch

The following patches merges all updates from the 2.18 Branch from the Binutils developers:

patch -Np1 -i ../binutils-2.18-branch_update-3.patch

The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build
directory:

mkdir -v ../binutils-build
cd ../binutils-build

Prepare Binutils for compilation:

CC="${CC} ${BUILD64}" \
../binutils-2.18/configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
--disable-nls --enable-shared --enable-64-bit-bfd \
--disable-multilib

The meaning of the new configure options:

CC="${CC} ${BUILD64}"

Tells the compiler to use our 64-bit build flags.

Compile the package:

make configure-host
make

Install the package:

make install

Details on this package are located in Section 10.9.2, “Contents of Binutils.”

Cross-Compiled Linux From Scratch - Version 1.1.0-Sparc64-Pure64

52

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->