Differences

This shows you the differences between two versions of the page.

Link to this comparison view

internal:gcc-local-build [2012/03/23 15:01]
dhiru add bison and flex as dependencies
internal:gcc-local-build [2013/07/13 20:33] (current)
solar recommend --enable-languages=c,c++
Line 64: Line 64:
  
 Beware: if you happen to omit or mistype the ''​LD_LIBRARY_PATH''​ setting (or if it needs to be revised for newer versions of the software components involved) or/and omit the ''​--disable-multilib''​ option (yet you're on an x86_64 or a "​similar"​ 64-bit system without 32-bit compatibility compiler and libraries installed), then the build will likely fail with an error message that would not indicate the root cause of the failure. ​ The error message will //not// provide any hint about ''​LD_LIBRARY_PATH''​ and ''​--disable-multilib''​. Beware: if you happen to omit or mistype the ''​LD_LIBRARY_PATH''​ setting (or if it needs to be revised for newer versions of the software components involved) or/and omit the ''​--disable-multilib''​ option (yet you're on an x86_64 or a "​similar"​ 64-bit system without 32-bit compatibility compiler and libraries installed), then the build will likely fail with an error message that would not indicate the root cause of the failure. ​ The error message will //not// provide any hint about ''​LD_LIBRARY_PATH''​ and ''​--disable-multilib''​.
 +
 +If you downloaded the full ''​gcc''​ tarball including all language frontends, but only need support for C and C++, use the ''​--enable-languages=c,​c++''​ option to ''​configure''​ to speed up the build and reduce disk space usage.
  
 Create a script to conveniently and transparently run the new gcc.  It may look like this: Create a script to conveniently and transparently run the new gcc.  It may look like this:
internal/gcc-local-build.txt ยท Last modified: 2013/07/13 20:33 by solar
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux