Jump to content

GNU Compiler Collection: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
[[Image:GCC Logo.png|thumb|''GNU GCC Logo'']]
[[Image:GCC Logo.png|thumb|''GNU GCC Logo'']]
The '''GNU Compiler Collection''' (GCC) contains what is possibly the technically most advanced currently maintained C/C++ compiler for OS/2, 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 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.
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)
 
==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.
* 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.


==Versions==
==Ports==
;GCC/2
* Jun 1992: 2.1
* Nov 1992: 2.2.2
* Apr 1993: 2.3.3
* Nov 1993: 2.5.4 - Objective C support
* Nov 1994: 2.6.1
 
;EMX
* Feb 1992: emx 0.8b - GCC 1.40
* Mar 1992: emx 0.8c - GCC 2.1, GAS 1.38.1, GDB 4.4
* May 1992: emx 0.8d - GCC 2.1
* Sep 1992: emx 0.8e - GCC 2.2.2, GDB 4.6
* Jan 1993: emx 0.8f - GCC 2.3.3, GDB 4.7
* Jul 1993: emx 0.8g - GCC 2.4.5, GDB 4.9
* Dec 1993: emx 0.8h - GCC 2.5.7 / 2.5.8
 
* Dec 1994: emx 0.9a - GCC 2.6.3, GAS 2.3, GDB 4.13
** 1995: emx 0.9a fix 06 - GCC 2.7.0
* Sep 1996: emx 0.9c - GCC 2.7.2.1
* Dec 1998: emx 0.9d - GCC 2.8.1
 
;EMX-based
;EMX-based
* 1999-06-14: PGCC 1.1.1 (EGCS)
* 1999-06-14: PGCC 1.1.1 (EGCS)
Line 37: Line 34:
* 2014-10-26: [ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd6.zip GCC 3.3.5 CSD6]
* 2014-10-26: [ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd6.zip GCC 3.3.5 CSD6]


;Ports
;By [[Paul Smedley]]
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/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/ir4zw06gs45rta6/gcc-6.3.0-os2-20161222.zip?dl=0 GCC 6.3.0 Alpha] (2016-12-22)
Line 53: Line 49:
==Related Articles==
==Related Articles==
* [[Compiling "OS/2 Presentation Manager Programming" Samples on 2016]] (2016)
* [[Compiling "OS/2 Presentation Manager Programming" Samples on 2016]] (2016)
* [[Using The GNU Configure Scripts In OS/2]] by [[Dale DePriest]] (March 1996)


[[Category:C++ Development Environment]]
[[Category:C++ Development Environment]]

Revision as of 16:39, 26 December 2020

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)

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
Innotek GCC / Netlabs
By Paul Smedley

Links

License

Related Articles