To set up the zypper or yast package managers to access the GCCUPC.ORG repository, first you must add the GUPC repository. After adding the repository you can use the operating system's package management tools to install packages and their dependencies. Note that installation of binary or source packages from the repository requires network availability and system administration privileges.
Add the 'gupc' repository to your system:
zypper ar http://www.gccupc.org/pub/pkg/opensuse/12.1 gupc
Installing binary RPMs
First, install the the GUPC RPM and the RPMs on which it depends:
zypper install gupc-gcc47-upc
Using GUPC
GUPC is installed under /usr/local/gupc. Use this command to add the GUPC directories to your PATH, LD_LIBRARY_PATH, MANPATH, and INFOPATH:
module load gupc-x86_64
If the module command is not available, install the Modules RPM.
How to Rebuild GUPC from a Source RPM
First, download the GUPC source RPM.
wget http://www.gccupc.org/pub/pkg/opensuse/12.1/SRPMS/gupc-gcc47-4.7.0.2_20120208-1.src.rpm
We recommend that you do not have the GUPC binary RPMs installed on your system when rebuilding GUPC. However, if you do have the GUPC RPMs installed, invoke the "module unload gupc-x86_64" command in your shell before rebuilding.
To rebuild GUPC, use the following command:
rpmbuild --define='_prefix /usr/local/gupc' \
--define='_infodir %{_prefix}/share/info' \
--define='_mandir %{_prefix}/share/man' \
--rebuild gupc-gcc47-4.7.0.2_20120208-1.src.rpm
To install GUPC in a different location, change /usr/local/gupc in the above command to the new location.








