Building GCC: Difference between revisions

Jump to navigation Jump to search
no edit summary
[unchecked revision][unchecked revision]
No edit summary
Line 31:
 
=== Do I need a new Binutils as well? ===
It certainly couldn't hurt, but if your binutilsBinutils isn't too horribly out of date, it should be good enough for your new system compiler. You can view your current binutilsBinutils version by invoking:
 
<source lang="bash">ld --version</source>
 
You probably need at least binutilsBinutils 2.22, or preferably the latest 2.25 release.
 
== Preparing for the build ==
Line 59:
</source>
 
'''--disable-nls''' tells binutilsBinutils not not include native language support. This is basically optional, but reduces dependencies and compile time. It will also result in English-language diagnostics, which the people on the [http://forum.osdev.org/ Forum] understand when you ask your questions.
 
=== GCC ===
Line 80:
</source>
 
'''--disable-nls''' is the same as for binutilsBinutils above.
 
'''--enable-languages''' tells GCC to not to compile all the other language frontends it supports, but only C (and optionally C++).
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu