Monday, 17 December 2012

Re: Cross-Compiler Build Instructions

On Mon, Dec 17, 2012 at 10:24:59PM +0000, Steve Fryatt wrote:
> On 16 Dec, Steve Fryatt wrote in message
> <mpro.mf5blp0je6log01jz.lists@stevefryatt.org.uk>:
>
> > 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 [...]
>
> I've had a further think about this, and come up with the attached revision
> to the document (I've not done a patch, as it's basically a complete
> re-write of what was there before). It now refers to the new build system,
> and reflects the migration to Git.
>
> It's written with the assumption that readers won't be trying to use the
> same source to build for other targets at the same time (and that if they
> are, they will know what to do to make it work correctly). I'm open to
> suggestions as to how to make it seamlessly multi-target without adding lots
> of complexity, however.
>
> Comments, suggestions, criticisms, etc welcome. I can't commit it myself as
> I can't write to Docs/, but if anyone else thinks it's ready for that, feel
> free.
>

looks pretty complete, will have to wait on the others for a review
though as my english is notoriously bad

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

sorry I did not reply earlier, day job got in the way.

You are obviously unaware that we have put together a toolchain build
system [1], its what the CI system uses for all its toolchains

The readme covers it too but:

$ apt-get install build-essential autoconf automake autogen flex bison libtool texinfo help2man subversion cvs
$ git clone git://git.netsurf-browser.org/toolchains.git
$ make -C arm-unknown-riscos
$ GCCSDK_INSTALL_CROSSBIN=/opt/netsurf/arm-unknown-riscos/cross/bin GCCSDK_INSTALL_ENV=/opt/netsurf/arm-unknown-riscos/env make -C sdk

will get you a fully working toolchan and libs. Alternatively you can
just download the precompiled toolchains from the ci system

[1] http://git.netsurf-browser.org/toolchains.git/

--
Regards Vincent
http://www.kyllikki.org/

No comments:

Post a Comment