View Single Post
Old 08-31-2011, 09:23 AM   #261
Hellmark
Wizard
Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.
 
Hellmark's Avatar
 
Posts: 2,592
Karma: 4290425
Join Date: Jun 2009
Location: Foristell, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3, Kobo Libra 2
Quote:
Originally Posted by HarryT View Post
That's why Pie said "binary compatible on the same platform". Which is, I believe, true.
If you take that as being as strict as x86 Ubuntu 11.04, then you're right. However, even if you're talking about on a computer of the same architecture, you can still have binary incompatibility, due to dependencies, between distros. This is one of the problems Linux has had with gaining marketshare and support. If you don't use statically linked binaries, then when you attempt to run the app, it will look for its dependent binaries where they were located on the system on which it was compiled. There are some very common libraries that are located in different places, under different names, in the various distros.

If you statically link, you can't get any benefit from upgrades to the libraries used, since the copies of the libraries used are built in. So bug fixes and such will pass you by. Not only that but the size of your compiled app will be significantly larger, which if you are developing for mobile platforms that gets to be more of an issue due to limited amount of memory and storage.
Hellmark is offline   Reply With Quote