From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Two stages compilation
Date: Wed, 30 Apr 2014 21:03:24 +0200 [thread overview]
Message-ID: <20140430210324.31be1446@skate> (raw)
In-Reply-To: <CAAXf6LVtAuS4DHWH9B-HtMcL-H6JszDsA2853c6FpM2Pu50WbA@mail.gmail.com>
Thomas, Angelo,
On Wed, 30 Apr 2014 20:44:57 +0200, Thomas De Schampheleire wrote:
> >> A couple of months back i was able to package mono for OpenWrt (which is
> >> in this sense close to Buildroot), but i haven't finalized that project
> >> (as it turned out that the target MIPS CPU is not totally supported by
> >> Mono...). If you think it's useful, i can dig this out from the archive
> >> and share the package definition with you. Please let me know if so.
>
> Note that Alexander Varnin has submitted a patch to the list for the
> mono runtime a while back:
> http://patchwork.ozlabs.org/patch/299488/
Though this particular package only provides a target version of Mono,
which probably means that it relies on mono being installed on the
build machine to be able to build all the Mono C# libraries (i.e step 2
in Angelo's description).
So indeed, as Zoltan pointed out, most likely the solution is to have
both a target and a host variant for Mono. The host variant builds the
compiler, and is used on the build machine to compile all the Mono C#
libraries into the corresponding byte code. The target variant builds
the "virtual machine" that runs on the target. And obviously most
likely the target variant will have a dependency on the host variant.
Also, the host variant building the compiler will be useful if people
want to package other Mono libraries/applications.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-04-30 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 9:29 [Buildroot] Two stages compilation Angelo Compagnucci
2014-04-29 10:53 ` Zoltan Gyarmati
2014-04-30 7:30 ` Angelo Compagnucci
2014-04-30 18:44 ` Thomas De Schampheleire
2014-04-30 19:03 ` Thomas Petazzoni [this message]
2014-04-30 20:30 ` Angelo Compagnucci
2014-05-01 6:46 ` Thomas De Schampheleire
2014-05-05 9:30 ` Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140430210324.31be1446@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.