|
PathScale Compiler Suite64-Bit Compilers for Linux |
|
User login |
DOWNLOAD INSTALL OF THE PATHSCALE COMPILER SUITE FROM A NON-ROOT TAR FILEThe Red Hat, Fedora, and SUSE distributions of the PathScale Compiler Suite can also be installed in the form of non-root tar files, which don't require root permissions to install. These tar files are available, by distribution, from the download page. For root installation using RPMs, refer to this page. Note: Floating subscriptions require the Subscription Manager server to be installed from an RPM. Nodelocked subscriptions do not 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 Non-root Install to the Default Location Step 1: Download the appropriate version of the compiler non-root tar file by clicking on the appropriate link on the download page. Step 2: The tar file that was just downloaded contains a portion of the CD image that contains the non-root tar ball. The tar file will be unpacked into the current directory. First, extract the CD image: $ cd <temporary_directory> Unpack the tar file using the command: $ tar xfj <filename>.tar In the extracted directory, change the directory to the distribution of interest: $ cd pathscale-eko-compilers-<version> \/<distro>/tar Unpack the tar file using the command: $ tar xfj <filename>.tar.bz2 Note: This tar file is compressed using the bzip2 compression program, which is installed as standard utility on all Linux machines. If for some reason /usr/bin/bzip2 does not exist on your system, it is available on your distribution media (that came with your operating system). The <filename> will the distribution you selected from the download page. The tar file will be unpacked into a directory whose name looks like this: pathscale-compilers-fedora-3.0.99-74.2093 This directory can be renamed and moved to another location: $ mv pathscale-compilers-fedora-3.0.99-74.2093 \/usr/local/pathscale Step 3: Configure your PATH, LD_LIBRARY_PATH, and MANPATH to point to this install directory
Note: This process does not install the Subscription Manager server, which is required if a floating subscription is being used. The Subscription Manager server software can only be installed using the RPMs. See Subscription Management for details. Step 4: Subscription Management The PathScale Compiler Suite will not run without a valid and correctly installed subscription file, whether you are using a floating subscription or a nodelocked subscription. 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 subscription file (received separately from PathScale) and then you are ready to start compiling. See Installing the Subscription File section below. Floating Subscription: Installing and starting the Subscription Manager server Note: This RPM will be needed only if you are using floating subscriptions. You will have to get the Subscription Manager server RPM from an RPM download. See the download page for the RPM downloads. See the Download install for RPMs page for more details on unpacking the RPMs. 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 file as discussed in Installing the Subscription File below. When the subscription file is in place, then start the Subscription Manager server: # /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 systems where the compilers and the subscription manager server is installed, place it into /opt/pathscale/lib/3.0.99 and then make sure it is world readable: # 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 installation is correct.
$ 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$ ./helloHello from PathScale$
Changing Install Locations You can rename your installation directory or copy it to another directory, but you must not rearrange the structure of anything within the directory, or the compiler may not work. The compiler will be installed under <your_directory> (for example /compilers/pathscale). It should not be necessary to modify either your PATH or your MANPATH (the scripts in /etc/profile.d should configure these). If for some reason, you are having trouble with your PATH or MANPATH, see Section 4.11.1 in the Install Guide for instructions on setting your PATH and MANPATH to <your_directory>. Optional Source and Binary Download Procedure For convenience and to satisfy the conditions of the GPL, you may select to download the ISO CD ROM image of the entire PathScale Compiler Suite. This disk image includes the compiled product for each supported platform, as well as the source code covered under the GPL. Burn a CD ROM from the downloaded ISO image, using any familiar tool, then proceed with the install as documented in the release notes. Please note that each time the compiler is upgraded, you will have the same option to download the source code. You may prefer to shorten your download and install time by selecting a binary-only version at this time. |
Active forum topicsShopping cart
|