Can't use LLVM in debug mode, but not using it in production either - the 
"experimental" moniker scares me a little.

This is targeting only ARM7. ARM6+ARM7 in debug creates a 60.4MB executable.

Release build is 9.6MB for the same configuration. Using LLVM that cuts to 
8.9MB, but it's really Debug I am worried about as if it gets too much bigger, 
it will fail to load and thus I won't be able to debug it.

And yes - it's just the Unix file, not the entire app.

And I'll keep the virtual beer in mind - thanx ;)

-----Original Message-----
From: Nic Wise [mailto:[email protected]] 
Sent: Wednesday, May 30, 2012 15:22
To: Dean Cleaver
Cc: [email protected]
Subject: Re: [MonoTouch] Executable size

Are you using LLVM?

Can you make it only target Armv7 (not 6+7) and possibly only thumb?

How big is a release build? vrs a debug build?

Is the 30meg the unix exe (ie, inside the .app, there is a file...) or are you 
talking about the .app?

outside of that, I think you need to buy Sebastian a virtual beer or 2
:) He being Mr Linker and all...



On Wed, May 30, 2012 at 5:36 PM, Dean Cleaver 
<[email protected]> wrote:
> Hi,
>
>
>
> Just wondered if there were any techniques or methods that are known 
> to bloat executables? I’m concerned that my application is becoming 
> too large to debug, and we’re not finished yet. It has about 80 view 
> controllers, plus data sources. Unfortunately they are for the most 
> part 80 distinct view controllers, so I could only trim it to 70 to 75 
> at best. I’ve made use of inheritance as best I can to reduce repeated 
> blocks of code, but wondered if there were any other paths I could 
> follow to reduce the beast? Currently the Unix Executable file 
> compiled in debug mode is 30MB, and I fear it’s only going to get 
> bigger and cause more debugging problems on the physical device (which I need 
> for the Linea Pro sleeve).
>
>
>
> Dino
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



--
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p 
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London 
Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to