[V4RB] Macho VComponents folder is 22mb???
Dave Addey
listmail1 at dsl.pipex.com
Thu Aug 24 21:09:52 CDT 2006
Hi all,
There have been some discussions on the various REALbasic lists recently
about ways of reducing the size of built Xcode Mach-O dylibs for use in .rbx
plugins. Does the Valentina Mach-O plugin take advantage of these tricks?
When I tried these tricks with my own Mach-O plugins, it made a huge
difference to the size of the dylib file.
Here's the tips:
Turn on dead-code-stripping for the plugin dylib, and use a custom exports
file for the plugin dylib - basically, a text file with just the following
line in it:
_REALPluginMain
...and be sure to strip out all debugging symbols for all dylibs when
building in Xcode.
As I say, this made my plugin much smaller!
As for the Vcomponents, are they also being stripped of un-needed symbols
etc.? It all helps :-) I can provide an Xcode template with these settings
included, if it helps.
All the best,
Dave.
> From: Dave Wooldridge <ebutterfly at comcast.net>
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> Date: Thu, 24 Aug 2006 08:25:34 -0700
> To: Valentina Developers <valentina at lists.macserve.net>
> Subject: Re: [V4RB] Macho VComponents folder is 22mb???
>
> Okay, that only removes 1.4 mb, but I'll take it. :-)
>
> Thanks, Ivan!
>
> --Dave
>
>
>>
>> Thursday, August 24, 2006, 10:11:16 AM, you wrote:
>>
>>> I just upgraded from V4RB 1 to V4RB 2, and beyond wading through the many
>>> changes I'll need to make to my code to convert my RB project to V4RB 2, I
>>> just noticed that the VComponents folder that is required to be placed
>>> inside my Macho application bundle is a whopping 22mb!
>>
>>> Adding that additional 22mb folder more than doubles the size of my Macho
>>> app! Which would also double my web site's download bandwidth usage when my
>>> app is released.
>>
>>> If I'm only using Valentina ADK, are all of the files in that Macho
>>> VComponents folder needed, or can some of them be safely removed (such as
>>> server components)?
>>
>> You can remove VClient if you don't use VServer.
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list