#2718: Have GCC link to system zlib
-------------------------+--------------------------------------------------
 Reporter:  jhuntwork    |       Owner:  lfs-b...@…                   
     Type:  enhancement  |      Status:  new                          
 Priority:  normal       |   Milestone:  6.7                          
Component:  Book         |     Version:  SVN                          
 Severity:  normal       |    Keywords:                               
-------------------------+--------------------------------------------------

Comment(by hohoxu_hao115):

 Replying to [comment:6 jhuntwork]:
 > Replying to [comment:5 hohoxu_hao115]:
 > > According to gcc documentation, the '--with-system-zlib' option is
 java specific option, it is only used by building libgcj. Does it have
 effect on other targets?
 >
 > Where exactly are you seeing that? Anyway, it's definitely using zlib in
 the build without libgcj and it tries to build zlib internally without
 that switch. Check recent build logs from LFS, you should see what I mean.

 I read this:[http://gcc.gnu.org/install/configure.html]
 And according to bruce's investigation, zlib is only used by java and
 lto(gcc's link runtime optimization, a new feature added in gcc-4.5,
 depends on libelf). we don't use java and lto in lfs.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2718#comment:12>
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