[Mono-dev] Regarding MONO on Embedded Device.

Andrew Arnott andrewarnott at gmail.com
Tue Oct 4 15:44:36 EDT 2005


mkbundle... That's an incredible tool. I didn't know it existed. Way to go,
guys! I thought I had to write at least a 50+ line C program in order to do
that kind of thing. That Mono does it for me is great!

Ya, it was a 9MB+ executable for just hello world. It seems rather large to
me. But I'll review the tips you already gave, Paolo, and see what I can
knock off.

On 10/4/05, Paolo Molaro <lupus at ximian.com> wrote:
>
> On 10/04/05 Andrew Arnott wrote:
> > Wow. I didn't think mono could get so small. For what it's worth, for
> the
> > compiling experience, you might find a blog I
> > wrote<
> http://darnitwebdev.blogspot.com/2005/09/i-am-working-with-ts-5500-embedded.html
> >a
> > useful reference as you build mono for your embedded system as I just
> > recently had to do this myself.
>
> The simplest way to create a small mono binary for single embedded
> programs is to use:
> mkbundle --static --deps prog.exe
> If it's not small enough, you'll ahve to follow my other suggestions
> like removing the 200+ KB of CJK info that very likely most of us don't
> need, then remove aot support, the verifier etc.
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org debian/rules
> lupus at ximian.com Monkeys do it better
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



--
Andrew Arnott
Web Developer
Brigham Young University
"Don't you wish there were a knob on the TV to turn up the intelligence?
There's one marked 'Brightness,' but it doesn't work." - Gallagher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051004/2788cb09/attachment.html 


More information about the Mono-devel-list mailing list