How to make the binaries smaller?
How to make the binaries smaller?
- Subject: How to make the binaries smaller?
- From: Vojtěch Meluzín <email@hidden>
- Date: Sun, 06 Nov 2011 01:51:11 +0100
Hi I'm just checking if someone knows how to make the plugin release binaries smaller. This is because Mac binaries are really big, and now having the universal ones containing both 32bit and 64bit versions it became huge... For example 16 MB per plugin. The thing is that Mac32 is even bigger than Win64, so I just wonder if there's a way to improve the situation. The truth is, that I partly think that it's because of the GCC compiler (as opposed to MSVC on Windows), which is just the best from all I tested, including Intel compiler. I had quite a few problems with code generated by Intel compiler, so I'm not using it on Mac.
I'm currently using GCC, SDK 10.5, default hidden visibility, -fexceptions, -O2. Then after linking I use "strip -S -x" to remove the symbol names. I also use statically linked c++ libraries and additional libs, basically libpng, freetype, zlib - I had a really big issue after Apple released Snow leopard and some libraries went missing on some computers and stuff, so I kinda resigned on dynamic linking despite it would be advantageous in this matter.
Any idea how to improve it?
Thanks in advance.
Vojtech
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden