Sunday, 16 December 2012

Cross-Compiler Build Instructions

I've just recreated my cross-compilation setup for NetSurf (currently on
Ubuntu 10.04, although that's likely to be changing soon), and have been
reading the BUILDING-ROcross documentation supplied in the Docs folder of
the source. I'd like to update that, having had a read of the more generic
build method given in

http://wiki.netsurf-browser.org/Documentation/GettingCoding

but am a little concerned that I've missed the point of one of the steps.
The Wiki page advises setting up the $PREFIX as follows

export PREFIX=${HOME}/netsurf/workspace/inst

Is there any specific reason for doing it this way in a cross-compilation
environment, which I've missed? Given that I then had to manually install
the libraries from workspace/inst into the GCCSDK structure, could that be
replaced by

export PREFIX=$GCCSDK_INSTALL_ENV

or would doing so break some other aspect of the new build structure that
expects the files to also be in workspace/inst?

--
Steve Fryatt - Leeds, England Wakefield Acorn & RISC OS Show
Saturday 20 April 2013
http://www.stevefryatt.org.uk/ http://www.wakefieldshow.org.uk/

No comments:

Post a Comment