[Mono-list] Next steps for mkbundle
Natalia Portillo
claunia at claunia.com
Sat Aug 20 02:18:46 UTC 2016
Hi Miguel,
My though is that it should by default do it on behalf of the u/d, but
allow to be overriden.
Regards,
Natalia Portillo
On 20/08/16 03:13, Miguel de Icaza via Mono-list wrote:
> Hello team,
>
>
>
> I am very happy with the new hack to simplify creating bundles of
> applications, because we no longer need a C compiler to make these
> happen, and as a bonus, we now allow cross-compilation of bundles.
>
>
>
> Just a couple of days ago, I added support for a new “--18n” flag that
> controls which encoders are shipped with the application, similar to the
> same setting that we surface on Xamarin.{Android,iOS,tvOS,macOS}.
>
>
>
> The cross-compilation feature has surfaced a problem, when we bundle, we
> bundle using the assemblies from the system, but a VM that you can
> specify, and this can lead to mismatches between the C and C# code in
> the runtime (ie, Mono 4.0 and mscorlib 4.2).
>
>
>
> So it seems to me that instead of just shipping Mono runtimes in our
> server for cross compilation, we are going to have to ship the entire
> set of assemblies that are part of a distribution. Perhaps all of
> $prefix/lib/mono/gac as well as the C runtime, and the support libraries
> for Mono.Posix.
>
>
>
> Now, that is the easy part.
>
>
>
> The part that I am debating is the part where we would like to
> distribute shared libraries that go with the bundled binary. Either we
> can require that shared libraries be distributed side-by-side, to be a
> user/distribution problem, or to allow a way in mkbundle to ship those
> on behalf of the user/distributor.
>
>
>
> Something like:
>
>
>
> mcs foo.cs -pkg:gtk-sharp-2.0
>
> mkbundle –cross arm64-debian-linux-4.2.0
> –shared-libs=/tmp/my-gtk-2.0-for-debain-shared-libs
>
>
>
> Thoughts?
>
> Miguel.
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20160820/c1d8a176/attachment-0001.sig>
More information about the Mono-list
mailing list