Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
GNU Compiler Collection
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Architectures == [[File:GCC DJGPP Windows.png|thumb|249x249px|GCC compiling [["Hello, World!" program|Hello World]] on [[Microsoft Windows|Windows]]]] The primary supported (and best tested) processor families are 64- and 32-bit ARM<!-- arch64 and arm-->, 64- and 32-bit [[x86 64]] and [[x86]]<!-- aka e.g. i686 --> and 64-bit [[PowerPC]] and [[SPARC]].<ref>{{Cite web |date=2022-10-26 |title=GCC 12 Release Criteria |url=https://gcc.gnu.org/gcc-12/criteria.html |access-date=2023-01-27 |website=gcc.gnu.org |archive-date=January 27, 2023 |archive-url=https://web.archive.org/web/20230127213916/https://gcc.gnu.org/gcc-12/criteria.html |url-status=live }}</ref> <!-- Notably absent from primary list is e.g. RISC-V and MIPS has been moved to secondary, but the latter has been tested for a long time, and both may actually work well, not sure. Nor sure what to read into OS support, known to work for e.g. Windows (i686-pc-cygwin, i686-mingw32 also 64-bit?): https://gcc.gnu.org/gcc-12/criteria.html The primary platforms are: aarch64-none-linux-gnu arm-linux-gnueabi i586-unknown-freebsd i686-pc-linux-gnu powerpc64-unknown-linux-gnu powerpc64le-unknown-linux-gnu sparc-sun-solaris2.11 x86_64-pc-linux-gnu The secondary platforms are: aarch64-elf i686-apple-darwin i686-pc-cygwin i686-mingw32 powerpc-ibm-aix7.1.0.0 s390x-linux-gnu mips64-linux-gnu --> GCC target processor families as of version 11.1 include:<ref>{{Cite web|title=Option Summary (Using the GNU Compiler Collection (GCC))|url=https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Option-Summary.html#Option-Summary|access-date=2020-08-21|website=gcc.gnu.org|archive-date=January 18, 2023|archive-url=https://web.archive.org/web/20230118185814/https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Option-Summary.html#Option-Summary|url-status=live}}</ref> {{div col|colwidth=15em|small=no}} * [[AArch64]] * [[DEC Alpha|Alpha]] * [[ARM architecture family|ARM]] * [[Atmel AVR|AVR]] * [[Blackfin]] * [[eBPF]] * [[Adapteva#Products|Epiphany]] (GCC 4.8) * [[Hitachi H8|H8/300]] * [[HC12]] * [[IA-32]] (32-bit [[x86]]) * [[IA-64]] (Intel Itanium) * [[MIPS architecture|MIPS]] * [[Motorola 68000 series]] * [[MSP430]] * [[Nvidia GPU]] * [[Nvidia PTX]] * [[PA-RISC]] * [[PDP-11]] * [[PowerPC]] * [[R8C]] / [[M16C]] / [[M32C]] * [[RISC-V]] * [[SPARC]] * [[SuperH]] * [[System/390]] / [[z/Architecture]] * [[VAX]] * [[x86-64]] {{Refend}} Lesser-known target processors supported in the standard release have included: {{div col|colwidth=15em|small=no}} * [[68HC11]] * [[A29K]] * [[C6x]] * [[CR16]] * [[D30V]] * [[DSP16xx]] * [[ETRAX CRIS]] * [[Fujitsu FR|FR-30]] * [[FR-V]] * [[IBM ROMP]] * [[Intel i960]] * [[IP2000]] * [[M32R]] * [[MCORE]] * [[MIL-STD-1750A]] * [[MMIX]] * [[MN10200]] * [[MN10300]] * [[Motorola 88000]] * [[NS320xx|NS32K]] * [[RL78]] * [[Stormy16]] * [[V850]] * [[Xtensa]] {{Refend}} Additional processors have been supported by GCC versions maintained separately from the FSF version: {{div col|colwidth=15em|small=no}} * [[Cortus APS3]] * [[ARC (processor)|ARC]] * [[AVR32]] * [[C166]] and [[C167]] * [[D10V]] * [[EISC]] * [[eSi-RISC]] * [[Hexagon (processor)|Hexagon]]<ref>{{Cite web |url=https://www.codeaurora.org/xwiki/bin/Hexagon/ |title=Hexagon Project Wiki |url-status=dead |access-date=May 19, 2011 |archive-url=https://web.archive.org/web/20120323192748/https://www.codeaurora.org/xwiki/bin/Hexagon/ |archive-date=March 23, 2012}}</ref> * [[LatticeMico32]] * [[LatticeMico8]] * [[MeP]] * [[MicroBlaze]] * [[Motorola 6809]] * [[MSP430]] * [[NEC SX architecture]]<ref>{{Cite web|url=https://code.google.com/archive/p/sx-gcc|title=Google Code Archive - Long-term storage for Google Code Project Hosting.|website=code.google.com|access-date=September 24, 2021|archive-date=September 25, 2022|archive-url=https://web.archive.org/web/20220925035202/https://code.google.com/archive/p/sx-gcc|url-status=live}}</ref> * [[Nios II]] and [[Nios embedded processor|Nios]] * [[OpenRISC]] * [[PDP-10]] * [[PIC30#PIC24 and dsPIC 16-bit microcontrollers|PIC24/dsPIC]] * [[PIC30#PIC32 32-bit microcontrollers|PIC32]] * [[Parallax Propeller|Propeller]] * [[HP Saturn|Saturn]] (HP48XGCC) * [[System/370]] * TIGCC ([[m68k]] variant) * [[TMS9900]] * [[TriCore]] * [[Z8000]] * [[ZPU (microprocessor)|ZPU]] {{Refend}} The [[GNU Compiler for Java|GCJ]] Java compiler can target either a native machine language architecture or the [[Java virtual machine]]'s [[Java bytecode]].<ref>{{cite web|url=https://gcc.gnu.org/java/|title=The GNU Compiler for the Java Programming Language|access-date=2010-04-22|url-status=dead|archive-url=https://web.archive.org/web/20070509055923/http://gcc.gnu.org/java/|archive-date=May 9, 2007|df=mdy-all}}</ref> When [[retargetable compiler|retargeting]] GCC to a new platform, [[bootstrapping (compilers)|bootstrapping]] is often used. Motorola 68000, Zilog Z80, and other processors are also targeted in the GCC versions developed for various Texas Instruments, Hewlett Packard, Sharp, and Casio programmable graphing calculators.<ref>graphing calculators#programming</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)