#1952: Different configure commands for toolchain
-----------------------------------------+----------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [email protected]
     Type:  enhancement                  |       Status:  new                   
       
 Priority:  lowest                       |    Milestone:  Future                
       
Component:  Book                         |      Version:  SVN                   
       
 Severity:  trivial                      |   Resolution:                        
       
 Keywords:                               |  
-----------------------------------------+----------------------------------
Comment (by [EMAIL PROTECTED]):

 So, we have 4 packages that upstream suggest should be built in a separate
 directory:

 binutils: binutils/README says "If you have GNU make, we recommend
 building in a different directory:

 {{{
         mkdir objdir
         cd objdir
         ../binutils-XXX/configure [options]
         make
         make install
 }}}

 From that, it strongly suggests to me that 'objdir' is actually outside
 the source directory (otherwise the 3rd line would simply be ../configure,
 no?). So, the current LFS instructions are fine.

 e2fsprogs: INSTALL recommends a 'build' directory within the source tree,
 so the current LFS instructions are fine.

 gcc: INSTALL/configure.html says "First, we highly recommend that GCC be
 built into a separate directory than the sources which does not reside
 within the source tree. This is how we generally build GCC; building where
 srcdir == objdir should still work, but doesn't get extensive testing;
 building where objdir is a subdirectory
 of srcdir is unsupported." Therefore, the current LFS instructions are
 fine.

 glibc: INSTALL says "GNU libc cannot be compiled in the source directory.
 You must build it in a separate build directory." Therefore, the current
 LFS instructions are fine.

 Robert, was 'GCC' a typo in your last sentence, or have you found other
 GCC installation instructions that advocate building within the source
 directory?

 I'm not at all convinced anything should be changed here.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1952#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to