The GNU gcc rpm is the most important rpm package which you should create after successfully creating rpm of RPM package. In order to create GNU gcc rpm package, you need to install rpms, unix pkgs or manual configure and install the following (given in order of dependency) :
bash# mkdir $HOME/localtmp bash# cd $HOME/localtmp bash# gzip -d libtool*.tar.gz bash# tar -xvf libtool*.tar bash# ./configure --with-prefix=$HOME/localtmp bash# make; make install
bash# PATH=$HOME/localtmp/bin:$PATH bash# export PATH
Now you are ready to build gcc rpm:
bash# rpm -i gcc*.src.rpm bash# cd /usr/local/src/redhat/SPECS bash# rpm -ba gcc*.spec
solaris# cd /var/ld solaris# man ld.so.1 solaris# man crle solaris# crle < hit return to see config info> solaris# crle /usr/lib:/usr/local/lib:/usr/local/pgsql/lib:/usr/local/BerkeleyDB.3.1/lib
You can download the source code rpm for sparc from sparc-gcc or go to http://www.rpmfind.net and type sparc in the search field. You can also download sparc-glibc, sparc-kernel-headers and sparc-binutils source rpms.
solaris# rpm -i sparc-gcc*.src.rpm solaris# cd /usr/local/src/redhat/SPECS solaris# rpm -ba sparc-gcc.spec
The PowerPC arch rpms are at http://penguinppc.org.
If configure complains that your platform is not supported, then you may want to edit glibc.spec file and in %configure section put --enable-hacker-mode,
For Solaris there is ready-made sparc-glibc*.src.rpm from sparc-gcc or go to http://www.rpmfind.net and type sparc in the search field.
The glibc needs the sparc-kernel-headers*.rpm which you can get from sparc-gcc.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |