Jump to content

GNU Compiler Collection: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:GCC Logo.png|thumb|'''GNU GCC Logo''']]
[[Image:GCC Logo.png|thumb|''GNU GCC Logo'']]
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 a large number of operating systems it is also for many the first 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 4x 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.
The '''GNU Compiler Collection''' includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D.


== Source and References ==
==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)


* For a long time the [[EMX]] collection was the preferred CPP 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.
==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.
* [[Innotek GCC]] was also available but Innotek is no longer in business since it was acquired by Sun Microsystems.


==Version==
==Ports==
*'''Latest OS/2 version:''' GCC - GNU C Compiler v4.9.2 (2014-12-18) or test version v5.1.0 (2015-04-26)
;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
 
;Innotek GCC / Netlabs
* 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]
 
;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)


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


==License and availability==
==License==
* Open source software released under the [[GPL v3]] - Actively developed.
* Open source software released under the [[GPL v3]]
 
* [[Free Software Foundation]]
==Related Articles==
* [[Using The GNU Configure Scripts In OS/2]] by [[Dale DePriest]] (March 1996)
 
==Publications==
 


[[Category:Tools]][[Category:C]][[Category:C++]][[Category:Linux Tools]][[Category:BSD Tools]][[Category:Solaris Tools]][[Category:Z/OS Tools]][[Category:AIX Tools]][[Category:OS-9 Tools]][[Category:MAC OSX Tools]][[Category:NeXT Tools]][[Category:HPUX Tools]][[Category:DOS Tools]][[Category:Digital Unix 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