[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Compiling on/for ARM

On Tue, Mar 24, 2015 at 07:52:26AM +0000, Anil Madhavapeddy wrote:
> On 24 Mar 2015, at 05:24, Magnus Therning <magnus@xxxxxxxxxxxx> wrote:
> > 
> > I thought github/mirage-decks would be a good first project to build
> > on/for my Cubietruck.  So after installing the mirage tool via `opam`
> > I cloned the decks project and proceeded to build it in unix mode.
> > `make configure` worked just fine, but `make build` did not.
> > Apparently `camlp4` requires more memory than what's available:
> mirage-decks isn't a great first choice -- mirage-www would be better.
> The reason is that it currently crunches the *entire* slide deck into
> memory rather than use an external block device.  We do need to port
> the decks build system to dynamically read the slides off disk as they
> have grown quite significantly.  What Mort and I normally do is to
> delete the irrelevant slides from a local checkout on the ARM box.
> Note that you can still get it compile fine if you setup a swap device
> as normal on dom0, but compiling it will take forever due to building a
> 50MB OCaml source file.  I'd recommend just playing with mirage-www
> instead, or the static_website example in mirage-skeleton (where you
> just populate htdocs/ with whatever content you want)

Thanks.  I'll switch to mirage-www then :)  Hopefully I'll have more
luck with that.


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus@xxxxxxxxxxxx   jabber: magnus@xxxxxxxxxxxx
twitter: magthe               http://therning.org/magnus

The ultimate goal of all computer science is the program.  The
performance of programs was once the noblest function of computer
science, and computer science was indispensable to great programs.
Today, programming and computer science exist in complacent isolation,
and can be [rescued only] by conscious coöperation and collaboration
of all programmers.

Attachment: pgp1GKBo_I_ae.pgp
Description: PGP signature

MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.