» Sign in
  

Description

Free membership is required to download software from AllianceOne

  • Existing members: If you are an existing member, please sign in. If after you sign-in you still cannot access software downloads and you see a "Join AllianceOne" link on the right side of the AllianceOne home page, you are an HP Passport member but not yet a AllianceOne member. Click on the "Join AllianceOne" link and complete your AllianceOne registration.
  • Non-members: To become a AllianceOne member, please register.
  • For additional details, visit Sign-FAQ or learn more about AllianceOne membership.
The GCC packages for HP-UX are available for HP-UX 11.11 or later running on HP PA-RISC and for HP-UX 11.23 or later running on the Itanium-based processor family platform.

Note: There is no official support for GCC from HP. However,
for GCC-related questions and issues, please email:
gcc-help@lists.hp.com

Product Information

»  GCC home
»  GCC for HP-UX
»  Related links
 
IMPORTANT: The GCC packages for HP-UX have undergone a significant makeover. In order to clearly separate the old and new packages, we have prefixed the new packages with 'hp-' so that the package name starts with "hp-gcc" as opposed to just "gcc". We continue to refer to the package as GCC (without the prefix). Below a list of changes with an explanation of how it may affect you:

  1. The new GCC packages are not installed under /usr/local. Both the HP-UX and Linux file system hierarchies have designated /opt as the location for packages and have designated /usr/local for use by the site's local use. By changing the installation location, we conform to adopted standards.

    The consequence of this change is that installing the new GCC package will not overwrite the old GCC package. Please remove the old GCC package and corresponding binutils package manually.

    Especially important to note is that when the old package is not removed, it may inadvertently be used. We do not require that the old package be removed, but make sure that the correct one is being used.

  2. The GNU binutils package is not provided as a separate package anymore. Instead, it has been bundled in the GCC package. The reason for this change is that it allows us to bundle a version of binutils that we know works with that version of GCC, even if that means using unreleased sources. It greatly increases the overall stability and quality that we can guarantee. This consequently makes it possible to install different versions of GCC on a system without the versions affecting each other.


  3. There are two separate GCC packages for PA-RISC, one that generates ILP32 code, and another that generates LP64 code. The 32-bit version is installed in the /opt/hp-gcc directory, and the 64-bit version is installed in /opt/hp-gcc64.


  4. It is now possible to install multiple versions of the GCC package at the same time. As such, a new version will not overwrite an older version or make it obsolete. An upgrade now implies that a new version is installed first and an older version be removed next. The reason for this change is to provide customers with a more controlled upgrade process. A new version of GCC can be tried and tested before an older version is removed. By default the latest version is always called "gcc", but each version is also know by a name that includes the version number, allowing it to be run explicitly.


  5. On PA 11.11 systems, the linker patch PHSS_33033 is required to compile C++ programs.


  6. In case of any problems with installing and/or using these packages, please send emails to gcc-help@lists.hp.com

Installation Instructions


If you have a version of GCC already installed in /usr/local on your machine, you should use swremove to remove it before you install the new version.

Note: swinstall cannot handle gzipped depot files. You must gunzip them first.

  1. Select the appropriate download. You will then see a "Save as" dialog box appear on your screen.
  2. In the "Selection" field define the path where you wish to save the downloadable file and press "OK".
  3. Once the file has been saved onto your system, run swinstall as "root".
    swinstall -s <FILE_NAME> <PRODUCT_NAME>
    where <FILE_NAME> is the complete path of the saved downloadable file and <PRODUCT_NAME> is the name of the product to install.

    NOTE: Some browsers may save the file with a different extension such as .tar. Continue with the following instructions and use the extension of the file saved.

    For example, if the downloadable file was saved in "/tmp" and the product name is "foo" the command to install would be:

    swinstall -s /tmp/foo-1.2-11.00.depot foo
    or
    swinstall -s /tmp/foo-1.2-11.00.tar foo


    NOTE: Refer to the man page swinstall(1M) for more information.

  4. If the install does not complete correctly or you have problems you can access the log file at:
    /var/adm/sw/swagent.log
 

Licensing and download

Size

Date

 » gcc-hppa-4.7.1.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(102.0 MB)
Sep 2012
 » gcc-hppa64-4.7.1.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(122.0 MB)
Sep 2012
 » gcc-ia64-4.7.1.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(156.0 MB)
Sep 2012
 » gcc-src-4.7.1.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(127.0 MB)
Sep 2012
 » gcc-hppa-4.7.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(102.0 MB)
May 2012
 » gcc-hppa64-4.7.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(122.0 MB)
May 2012
 » gcc-ia64-4.7.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(156.0 MB)
May 2012
 » gcc-src-4.7.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(126.0 MB)
May 2012
 » gcc-hppa-4.6.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(91.0 MB)
Apr 2012
 » gcc-hppa64-4.6.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(102.0 MB)
Apr 2012
 » gcc-ia64-4.6.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(131.0 MB)
Apr 2012
 » gcc-src-4.6.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(114.0 MB)
Apr 2012
 » gcc-hppa64-4.6.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(102.0 MB)
Feb 2012
 » gcc-hppa-4.6.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(91.0 MB)
Feb 2012
 » gcc-src-4.6.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(114.0 MB)
Feb 2012
 » gcc-ia64-4.6.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(131.0 MB)
Feb 2012
 » gcc-hppa-4.6.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(89.0 MB)
May 2011
 » gcc-hppa64-4.6.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(100.0 MB)
May 2011
 » gcc-ia64-4.6.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(129.0 MB)
May 2011
 » gcc-src--4.6.0.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(112.0 MB)
May 2011
 » gcc-hppa-4.5.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(81.0 MB)
May 2011
 » gcc-hppa64-4.5.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(75.0 MB)
May 2011
 » gcc-ia64-4.5.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(97.0 MB)
May 2011
 » gcc-src-4.5.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(106.0 MB)
May 2011
 » gcc-hppa-4.5.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(81.0 MB)
Sep 2012
 » gcc-hppa64-4.5.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(75.0 MB)
Sep 2012
 » gcc-src-4.5.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(106.0 MB)
Sep 2012
 » gcc-ia64-4.5.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(97.0 MB)
Sep 2012
 » gcc-hppa-4.4.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(74.0 MB)
Feb 2013
 » gcc-hppa64-4.4.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(66.0 MB)
Feb 2013
 » gcc-ia64-4.4.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(87.0 MB)
Feb 2013
 » gcc-src-4.4.3.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(101.0 MB)
Feb 2013
 » gcc-hppa64-4.1.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(54.0 MB)
Feb 2014
 » gcc-hppa-4.1.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(58.0 MB)
Feb 2014
 » gcc-ia64-4.1.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(67.0 MB)
Feb 2014
 » gcc-src-4.1.2.depot.gz  This link features content viewable by AllianceOne members only.
gz file
(67.0 MB)
Feb 2014
 » HP-GCC 3.4.5 Intel Itanium 2 microarchitecture  This link features content viewable by AllianceOne members only.
gz file
(50.0 MB)
Nov 2012
 » HP-GCC 3.4.5 PA-RISC ILP32  This link features content viewable by AllianceOne members only.
gz file
(43.0 MB)
Nov 2012
 » HP-GCC 3.4.5 PA-RISC LP64  This link features content viewable by AllianceOne members only.
gz file
(41.0 MB)
Nov 2012
 » HP-GCC 3.4.5 Source  This link features content viewable by AllianceOne members only.
gz file
(51.0 MB)
Nov 2012


Manage My AllianceOne Membership

 
 » Sign in
 » Join AllianceOne
 » Contact us