On 03/12/2020 19:59, Steve Fryatt wrote:
On 2 Dec, Michael Drake wrote in message
<81675e57-bbf9-639f-ed1e-f83b97debdc5(a)codethink.co.uk>:
> If that's not happening, it's not as intended, however, we'll need a
RISC
> OS developer to fix it for us.
Is there a handy guide to cross-compiling (on Linux) the current NetSurf
source for RISC OS without installing a complete duplicate GCCSDK
environment (I already have GCC 4.7.4 v5 installed and working for other
projects)? I couldn't see one in the docs folder on Git.
It's probably a decade since I last looked but I believe the buildsystem
comprehends the usual GCCSDK_INSTALL_CROSSBIN and GCCSDK_INSTALL_ENV
variables. It appears that env.sh does not, however.
So, putting it all together probably requires this:
export GCCSDK_INSTALL_CROSSBIN=/path/to/gccsdk/cross/bin
export GCCSDK_INSTALL_ENV=/path/to/gccsdk/env
PATH=/path/to/gccsdk/cross/bin:${PATH} HOST=arm-unknown-riscos source env.sh
and then use the normal commands from the quick-start document.
J.