|
PathScale Compiler Suite64-Bit Compilers for Linux |
|
User login |
DOWNLOAD INSTALL OF THE PATHSCALE COMPILER SUITE FROM RPMSThe Red Hat, Fedora, and SUSE distributions of the PathScale Complier Suite are most often installed in the form of RPMs (Red Hat Package Manager files). These files are provided as a tar file of RPMs appropriate for each distribution. There are multiple independent RPM packages that make up the PathScale Compiler Suite. Refer to the supplied PathScale Compiler Suite InstalGuide for more detailed information.
Note: If you do not have root access you can also install the compiler suite from a non-root tar file. (For a non-root installation, please refer to the install instructions here.) Floating subscriptions require the subscription manager server to be installed For more details on this process and installation options, refer to the Install Guide. Problems? If you encounter problems:
General instructions for a root RPM binary-only install to the default location The default installation location is /opt/pathscale/
Step 1: Download the appropriate version of the compiler Step 2: Extract the RPMs from the download file to a directory using tar.
Change directories to the location where you want to extract # cd <temporary_directory>
This will create a subdirectory tree consisting of the Install Guide, release notes, other documentation and a subdirectory
Step 3: Install the RPMs by changing directories into the rpms subdirectory in the distribution directory. # cd <temporary_directory>/ \ pathscale-eko-compilers-3.0.99/ \ <distribution_name>/rpms
The <distribution_name> could be Fedora or SUSE9. To install or upgrade the compiler RPMs use the # rpm -Uvh *.rpm You will see an installation message similar to this as the installation progresses. Preparing... ################################# [100%] 1:pathscale-compilers-doc ################### [8%] 2:pathscale-compilers-lib ################### [17%] 3:pathscale-c################################ [25%] 4:pathscale-compilers-common ################ [33%] 5:pathscale-compilers-devel ################# [42%] 6:pathscale-compilers-lib ################### [58%] 7:pathscale-c++############################## [67%] 8:pathscale-f90 ############################# [75%] 9:pathscale-sub-client ##################### [83%] 10:pathscale-pathdb ######################### [92%] 11:pathscale-pathdb ######################## [100%]
Note: If you have trouble installing on the SUSE operating Step 4: Subscription Management
The PathScale Compiler Suite will not run without a valid The subscription management client was extracted and installed along with the compiler suite. Nodelocked Subscription:
For a nodelocked subscription, you need to install the new Floating Subscription:
Note: This RPM will be needed only if you are using The Subscription Manager server RPM was extracted during the tar process and put into a directory named subscription-server. To install the server, do the following: # cd <temporary_directory>/ \ pathscale-eko-compilers-3.0.99/ \ <distribution_name>/subscription-server # rpm -Uhv *.rpm You will see an installation message similar to this as the installation progresses. Preparing... ################## [100%] 1:pathscale-sub-server ################## [100%]
Once this installation has been completed, then install the subscription
When the subscription file is in place, then start the Subscription # /etc/init.d/pathscale-sub start Installing the Subscription File
To install the subscription file, copy the pscsubscription-compiler-*.xml file you received from PathScale and, on all of the # cp pscsubscription-compiler-*.xml \ /opt/pathscale/lib/3.0.99 # chmod ugo+r /opt/pathscale/lib/3.0.99/ \ pscsubscription-compiler-*.xml Step 5: Test the compiler
Compile a small program (ex: a "hello world") to verify that the
$ cat hello.c
#include <stdio.h>
int main () {
int i;
printf("Hello from PathScale\n");
return 0;
}
$ export PATH=/opt/pathscale/bin:${PATH}
$ pathcc -o hello hello.c
$ ./hello
Hello from PathScale
$
Optional Selection of Alternate Install Location: The compilers are installed into this directory by default: /opt/pathscale
This will be referred to as the <install_directory> in $ rpm --prefix <your_directory> -Uhv *.rpm
The compiler will be installed under <your_directory> (for example /compilers/pathscale). It should not be necessary to modify Optional Source and Binary Download Procedure
For convenience and to satisfy the conditions of the GPL, you may
Burn a CD ROM from the downloaded ISO image, using any familiar
Please note that each time the compiler is upgraded, you will have |
Active forum topicsShopping cart
|