[BLFS Trac] #2602: GCC 4.4.1

BLFS Trac trac at linuxfromscratch.org
Wed Feb 17 09:23:21 PST 2010


#2602: GCC 4.4.1
---------------------+------------------------------------------------------
 Reporter:  willimm  |       Owner:  randy@…                   
     Type:  task     |      Status:  assigned                  
 Priority:  normal   |   Milestone:  6.5                       
Component:  BOOK     |     Version:  SVN                       
 Severity:  blocker  |    Keywords:                            
---------------------+------------------------------------------------------

Comment(by bdubbs@…):

 I've taken a look at gcc in BLFS and have a couple of questions that may
 need to be addressed in the book.

 1.  Why are we rebuilding C and C++?  I don't know of any advantages of
 doing so unless the user is upgrading to a newer version of gcc.

 2.  The currenet instructions have:  --enable-
 languages=c,c++,ada,fortran,java,objc,treelang

 This does not seem to be optimal.  I suggest putting a placeholder here
 and having the user actively decide what languages to actually build.  I'd
 also go as far as telling a user that building the Ada, Objective C,
 treelang, Java, and FORTRAN compilers should only be done if they think
 they'll need it.  The only one of these I've needed is FORTRAN.

 3.  It should probably be mentioned that JDK also provides Java capability
 so building that is an alternative to building gcc Java.

 4.  There should be a note that if you are building a kernel module, then
 the compiler should be the same one as used for the kernel build.  In
 other words, if you are going to upgrade gcc's C compiler, then rebuild
 your kernel too.

 5.  It follows that the user should be warned that when rebuilding the
 kernel, never reinstall the kernel's headers because glibc depends on the
 headers used when glibc was built.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2602#comment:16>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list