The instructions at https://www.riscos.info/index.php/Using_GCCSDK are OK but you need to change the URL for the PPL library to https://www.bugseng.com/external/ppl/download/ftp/releases/1.2/ppl-1.2.tar.gz
$ mkdir gccsdk
$ cd gccsdk
$ svn co svn://svn.riscos.info/gccsdk/trunk/autobuilder/ autobuilder
$ svn co svn://svn.riscos.info/gccsdk/trunk/gcc4/ gcc4
$ cd gcc4
Before compiling, you need to edit Makefile and change the PPL URL from
ftp://ftp.cs.unipr.it/pub/ppl/releases/$(PPL_VERSION)/ppl-$(PPL_VERSION).tar.gz
to
https://www.bugseng.com/external/ppl/download/ftp/releases/$(PPL_VERSION)/ppl-$(PPL_VERSION).tar.gz
Once the change has been made you can continue building
$ ./build-world
Once gcc has built (it takes a long time and a few GB of disk space), you're ready to build the packages.
To get autobuilder to compile the packages, you either need rman (I don't know where to get it), or apply the following patch to autobuilder/build
--- build (revision 7339)
+++ build (working copy)
@@ -76,7 +76,7 @@
popd
fi
fi
- for build_prog in cvs svn wget autoconf automake rman realpath pkg-config doxygen xgettext unzip autoconf2.13 flex bison gperf glib-genmarshal xsltproc intltoolize automake-1.11 ; do
+ for build_prog in cvs svn wget autoconf automake realpath pkg-config doxygen xgettext unzip autoconf2.13 flex bison gperf glib-genmarshal xsltproc intltoolize automake-1.11 ; do
if ! type $build_prog > /dev/null 2>&1 ; then
echo "Autobuilder: $build_prog not found; is it installed on your path?"
exit 1;
Or you can download my latest version from Git hub. Here you can also find the autobuilder files used to port libpopt and libsmb2 to RISC-OS.
And replace the rman commands in build/env/ro-install (lines 141 and 144 and in some of the packages setvars scripts) with groff -mandoc -Thtml.
No comments:
Post a Comment