[lfs-support] creating binutils-build again

2014-02-23 Thread Waitman Gobble

Hi,

Version 7.5-rc1

In 5.5. GCC-4.8.2 - Pass 1, the book reads mkdir -v ../binutils-build,
then in 5.9. Binutils-2.24 - Pass 2, the book reads Create a separate
build directory again: mkdir -v ../binutils-build.

There is confusion about whether the binutils-build directory created in
pass 1 should be removed before pass 2, or if it's OK to do pass 2 with
the existing binutils-build from pass 1.

Thank you,


-- 
Waitman Gobble
San Jose California USA
+1.510-830-7975
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] creating binutils-build again

2014-02-23 Thread Bruce Dubbs
Waitman Gobble wrote:

 Hi,

 Version 7.5-rc1

 In 5.5. GCC-4.8.2 - Pass 1, the book reads mkdir -v ../binutils-build,
 then in 5.9. Binutils-2.24 - Pass 2, the book reads Create a separate
 build directory again: mkdir -v ../binutils-build.

 There is confusion about whether the binutils-build directory created in
 pass 1 should be removed before pass 2, or if it's OK to do pass 2 with
 the existing binutils-build from pass 1.


See 5.3. General Compilation Instructions, second Important block, 3e.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] creating binutils-build again

2014-02-23 Thread Pierre Labastie
Le 23/02/2014 09:26, Waitman Gobble a écrit :
 
 Hi,
 
 Version 7.5-rc1
 
 In 5.5. GCC-4.8.2 - Pass 1, the book reads mkdir -v ../binutils-build,
 then in 5.9. Binutils-2.24 - Pass 2, the book reads Create a separate
 build directory again: mkdir -v ../binutils-build.
 
 There is confusion about whether the binutils-build directory created in
 pass 1 should be removed before pass 2, or if it's OK to do pass 2 with
 the existing binutils-build from pass 1.
 
 Thank you,
 
 
Hmm,
You should delete the extracted source directory and any package-build
directories, as written on page 5.3 General Compilation Instructions, last
item...

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] creating binutils-build again

2014-02-23 Thread Waitman Gobble

On Sun, February 23, 2014 8:29 am, Pierre Labastie wrote:
 Le 23/02/2014 09:26, Waitman Gobble a écrit :


 Hi,


 Version 7.5-rc1


 In 5.5. GCC-4.8.2 - Pass 1, the book reads mkdir -v
 ../binutils-build,
 then in 5.9. Binutils-2.24 - Pass 2, the book reads Create a separate
 build directory again: mkdir -v ../binutils-build.

 There is confusion about whether the binutils-build directory created
 in pass 1 should be removed before pass 2, or if it's OK to do pass 2
 with the existing binutils-build from pass 1.

 Thank you,



 Hmm,
 You should delete the extracted source directory and any package-build
 directories, as written on page 5.3 General Compilation Instructions,
 last item...

 Pierre
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page



Thank you,


-- 
Waitman Gobble
San Jose California USA
(510) 830-7975
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] creating binutils-build again

2014-02-23 Thread akhiezer
 Date: Sun, 23 Feb 2014 00:26:46 -0800
 From: Waitman Gobble uzi...@da3m0n8t3r.com
 To: lfs-support@linuxfromscratch.org
 Subject: [lfs-support] creating binutils-build again


 Hi,

 Version 7.5-rc1

 In 5.5. GCC-4.8.2 - Pass 1, the book reads mkdir -v ../binutils-build,


No it doesn't: it says 'mkdir -v ../gcc-build' ; gcc-pass2 says same.

Binutils-pass1 says 'mkdir -v ../binutils-build' ; binutils-pass2 says same.


 then in 5.9. Binutils-2.24 - Pass 2, the book reads Create a separate
 build directory again: mkdir -v ../binutils-build.

 There is confusion about whether the binutils-build directory created in
 pass 1 should be removed before pass 2, or if it's OK to do pass 2 with
 the existing binutils-build from pass 1.

 Thank you,



You might get away with it if you have left the respective '../-build'
directories _completely_ empty between their respective pass1  pass2.


But to be on safe side - you're building particularly intricate and
interrelated software at especially that stage of the book - , follow
the book:

Ref:
http://www.linuxfromscratch.org/lfs/view/development/chapter05/generalinstructions.html#buildinstr

Per that ref, Unless instructed otherwise: After each package page,
remove the unpacked/untarred source directory (and thus all of its contents
too; and thus also anything that has been generated inside it during the
configure/build/install), and any separate build directory (and thus all
of its contents too).

So for (the spirit of) your particular question: remove those '../-build'
directories after their pass1, and make fresh dir at each respective pass2.



rgds,
akh




 -- 
 Waitman Gobble
 San Jose California USA
 +1.510-830-7975
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page



--
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page