LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   binutils pass 2 build directory (https://www.linuxquestions.org/questions/linux-from-scratch-13/binutils-pass-2-build-directory-4175554619/)

Sarthak 09-27-2015 02:47 AM

binutils pass 2 build directory
 
Create a separate build directory again:
Code:

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

from which directory i was supposed to make it and i have made binutils-build in pass 1 also so how can it be made at the same path. please help

knudfl 09-27-2015 03:07 AM

You are supposed to delete everything "Pass 1" = everything {previous build folders and source folders} before you continue.

And all "Pass 2" *build*/ and <source>/ folders, before you do "Chapter 6. Installing Basic System Software".


Which also means : When you start from scratch, nothing can be reused.



-

Mihail Zenkov 09-27-2015 03:38 AM

del

Sarthak 09-27-2015 07:28 AM

Quote:

You are supposed to delete everything "Pass 1" = everything {previous build folders and source folders} before you continue.
this means that i have to delete the binutils-build directory and the source binutils-2.25 directory and again extract the tar of binutils to perform pass 2 of binutils and also for libstdc++ will i have to do the same with gcc directories ?


is it becoz we compiled everything is stored in /tools directory and now we dont need build directories.

ReaperX7 09-27-2015 07:58 AM

During Chapter 5 after you build part of the bootstrap system you delete the extracted sources. It's only in Chapter 6 you should keep the extracted sources handy pre-configured by running "make clean" on the sources after installing them.

knudfl 09-27-2015 07:59 AM

Quote:

this means that i have to delete the binutils-build directory and the source binutils-2.25 directory and again extract the tar of binutils to perform pass 2 of binutils and also for libstdc++ will i have to do the same with gcc directories ?
Yes.

Sarthak 09-27-2015 08:10 AM

Thank you


All times are GMT -5. The time now is 08:33 AM.