Jump to content

GNU Compiler Collection: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Description ==
[[Image:GCC Logo.png|thumb|''GNU GCC Logo'']]
The '''GNU Compiler Collection''' includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D.


The GNU Compiler Collection contains probably the technically most advanced C/C++ compilers for OS/2 and eCS, generating good code and supporting the latest standards. Because it is available and maintained for virtually "all" operating systems is is also first choice if it comes to portability.
==Releases==
''GNU Compiler Collection (GCC)''
* 2.95 (Jul 1999)
** 2.95.3 (Mar 2001)
* 3.0 (Jun 2001)
* 3.1 (May 2002)
* 3.2 (Aug 2002)
* 3.3 (May 2003)
* 3.4.0 (Apr 2004)
* 4.0.0 (Apr 2005)
* 4.1.0 (Feb 2006)
* 4.9.0 (Apr 2014)
* 10.1 (May 2020)
* 10.2 (Jul 2020)
* 10.5 (Jul 2023)
* 11.4 (May 2023)
* 12.3 (May 2023)
* 13.2 (Jul 2023)


== Source and References ==
==History==
It contains a C/C++ compiler for OS/2, generating good code and supporting the modern standards. Because it is available for a large number of operating systems it is a choice when it comes to writing portable code. However it should be noted that many of the operating systems listed as being supported by GCC have had their support removed in the 4.x branch or earlier, meaning that to archive full portability you may have to keep 2.x ([[emx]]) or 3.x branches of GCC going if you are targeting some of the less used OS's. In addition systems that are not UNIX like may need emulation layers and libraries and in some cases such as with [[Microsoft Windows]] their uses can be clunky or even problematic.


* For a long time the EMX collection (see [http://hobbes.nmsu.edu]) was the preferred CPP port for OS/2 developers,  
* For a long time the [[EMX]] collection included the preferred GNU GCC port for OS/2 developers, it still is to a degree preferable to the later DJGPP for DOS development work even though the latter collection supports newer versions of GCC.
* [[Innotek GCC]] was also available but Innotek is no longer in business since it was adquired by Sun Microsystems.
* [[Innotek GCC]] was also available but Innotek is no longer in business since it was acquired by Sun Microsystems.
* There is also [http://os2ports.smedley.info/index.php?page=gcc44 Paul Smedley port of GCC] which has a more current version.


==Version==
==Ports==
'''* Latest version:''' GCC - GNU C Compiler v4.4.6 (2011-12-17)
;EMX-based
* 2.95.2 - Pentium GCC for OS/2 (PGCC/2) 2.95.3 by Andrew Zabolotny
* 3.0.3 - OS/2 port by [[Mikuláš Patočka]]
* 2003-03-07: [ftp://ftp.netlabs.org/pub/gcc/gcc-3.2.1-r2/ GCC 3.2.1 R2] - beta version by Andrew Zabolotny - emx 0.9d required


==Links==
;Innotek GCC / Netlabs
'''* Port Site:'''http://os2ports.smedley.info/index.php?page=gcc-v4-4-x
* Jul 2003: Innotek GCC for OS/2 3.2.2 beta
* 2005-11-17: [ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-ga2.zip GCC 3.3.5 GA2]
* 2014-10-26: [ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd6.zip GCC 3.3.5 CSD6]


'''* Official Site:'''
;By [[Paul Smedley]]
*[https://www.dropbox.com/s/i531k10ifws4fe2/gcc-4.9.2-os2-20141218.zip?dl=0 GCC 4.9.2] (2014-12-18)
*[https://www.dropbox.com/s/ir4zw06gs45rta6/gcc-6.3.0-os2-20161222.zip?dl=0 GCC 6.3.0 Alpha] (2016-12-22)
*[https://www.dropbox.com/s/o5skkve3nnlj2o0/gcc-7.1.0-os2-20170507.zip?dl=0 GCC 7.2.0 Alpha] (2017-05-07)
*GCC 7.3.0 (2018-01-26)
*GCC 8.1.0 (2018-05-05)
*GCC 8.3.0 (2019-03-24)


== License ==
==Links==
* OS/2 ports: http://os2ports.smedley.info/index.php?page=gcc-v4-9-x
* Official Site: https://gcc.gnu.org/


GNU Public License (GPL, Open Source)
==License==
* Open source software released under the [[GPL v3]]
* [[Free Software Foundation]]


[[Category:Tools]]
[[Category:GNU Software]]

Latest revision as of 01:55, 9 September 2023

GNU GCC Logo

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D.

Releases

GNU Compiler Collection (GCC)

  • 2.95 (Jul 1999)
    • 2.95.3 (Mar 2001)
  • 3.0 (Jun 2001)
  • 3.1 (May 2002)
  • 3.2 (Aug 2002)
  • 3.3 (May 2003)
  • 3.4.0 (Apr 2004)
  • 4.0.0 (Apr 2005)
  • 4.1.0 (Feb 2006)
  • 4.9.0 (Apr 2014)
  • 10.1 (May 2020)
  • 10.2 (Jul 2020)
  • 10.5 (Jul 2023)
  • 11.4 (May 2023)
  • 12.3 (May 2023)
  • 13.2 (Jul 2023)

History

It contains a C/C++ compiler for OS/2, generating good code and supporting the modern standards. Because it is available for a large number of operating systems it is a choice when it comes to writing portable code. However it should be noted that many of the operating systems listed as being supported by GCC have had their support removed in the 4.x branch or earlier, meaning that to archive full portability you may have to keep 2.x (emx) or 3.x branches of GCC going if you are targeting some of the less used OS's. In addition systems that are not UNIX like may need emulation layers and libraries and in some cases such as with Microsoft Windows their uses can be clunky or even problematic.

  • For a long time the EMX collection included the preferred GNU GCC port for OS/2 developers, it still is to a degree preferable to the later DJGPP for DOS development work even though the latter collection supports newer versions of GCC.
  • Innotek GCC was also available but Innotek is no longer in business since it was acquired by Sun Microsystems.

Ports

EMX-based
  • 2.95.2 - Pentium GCC for OS/2 (PGCC/2) 2.95.3 by Andrew Zabolotny
  • 3.0.3 - OS/2 port by Mikuláš Patočka
  • 2003-03-07: GCC 3.2.1 R2 - beta version by Andrew Zabolotny - emx 0.9d required
Innotek GCC / Netlabs
By Paul Smedley

Links

License