Preparing GCC Build: Difference between revisions

Update Linux notes and split out Gentoo
[unchecked revision][unchecked revision]
(Add more dependencies)
(Update Linux notes and split out Gentoo)
Line 138:
'''Note:''' The versioning scheme used is that each fullstop separates a full number, i.e. Binutils 2.20.0 is newer than 2.9.0. This may be confusing, if you have not encountered this (quite common) versioning scheme yet, when looking at an alphanumerically sorted list of tarballs: The file at the bottom of the list is not the latest version! An easy way of getting the latest version is to sort by the last modified date and scrolling to the bottom.
 
=== Linux Users building a System Compiler ===
Your distribution may ship its own patched GCC and Binutils that is customized to work on your particular Linux distribution. You may notshould be able to build a functional systemworking cross-compiler using the upstream sources you downloaded above. In that case, try a newer GCC release or get the patched source code., Forbut instance,you somemight GCCnot releasesbe are knownable to notbuild understand thea new Debiansystem multiarchcompiler directoryfor structure.your However,current ifLinux thedistribution. compilerIn wethat arecase, about to build istry a cross-compilernewer targettingGCC anotherrelease operatingor systemget (suchthe aspatched yoursource new one), then this is much less a worrycode.
 
=== Gentoo Users ===
'''Note for all Gentoo users:'''
 
Gentoo, being a source-based distribution, makes it almost ridiculously easy to set up a cross-development toolchain:
Gentoo lets you set up a cross-development toolchain:
 
emerge -av crossdev
Anonymous user