Shared libraries must NOT be packed with UPX. Packed libraries can only be used statically, which means that two separate instances of the same library will need to be loaded into RAM, basically defeating the purpose of sharing. Read the UPX docs. This obviously applies to all libraries, but the thread is in the Gaim Portable forum because the plan is to have the GTK+ libraries shared between Gaim and The GIMP (and whatever GTK+-using apps that may become part of all this).
That's not the point. By "sharing the GTK+ libraries", John means having all the GTK+ stuff in a single folder, which can be referenced by both apps. RAM is cheap enough these days that loading two copies of a set of DLLs into memory isn't going to cause much grief. The main issue here is disk space, since flash memory is still pretty expensive.
-
"You missed the bigger picture, Bruce. You always have."
- Robert Spellbinder, Spectacles: Bruce's Story
RAM isn't that abundant. Cheap, perhaps, but not always abundant. Most people have 1GB or less of it, mostly because they don't know how much performance can be gained from it or how cheap it is. A few hundred KB of disk space is nothing compared to several MB that has to be duplicated in RAM. On a machine with 4GB of RAM and a 64MB flash drive, perhaps, but in most cases, sharing is better.
Vintage!
show us the one you want and I'll unlock it for you.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
Well, that would be pointless now, wouldn't it?
Vintage!
I started a "could you please unlock this thread" thread here
"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Good idea.
Vintage!