Hi,
In this chapter, I would be discussing on how to compile the bin utils package
Use the following command to unpack the package...
The above command would unpack the package in a folder called binutils-2.35.
Once the command execution is completed, we have to change directory to that folder.
The linux from scratch suggest that we should be compiling the packages using a dedicated directory.
To compile binutils, let us create a directory called "build" inside binutils-2.35
Change directory to build directory
../configure --prefix=$LFS/tools \
--with-sysroot=$LFS \
--target=$LFS_TGT \
--disable-nls \
--disable-werror
Execute the following command at the prompt to compile the binutils
If the above command execution is successful then execute the following command to install binutils
No comments:
Post a Comment