On Mon, 9 Aug 2010 17:14:47 -0700 (PDT), Adriano Marques <[email protected]> wrote: > Hi, > > I'm facing a very weird issue with PyInstaller. I have an application > that I need to compile on different Linux distributions, and the > executables' sizes after build are very different. > > What I do, is I compile the same code using the same make commands in > two different distributions: Ubuntu 9.10 and CentOS 4. In Ubuntu, the > executable size is 11 MB and in CentOS the size is 75 MB! I don't see > any considerable difference between the two environments, and they're > using the same dependencies and versions. Of course that the linux > kernel and some other core libs' versions are different, but I can't > understand why the file size is so different. Besides the size, the > biggest one is much slower also. Do you guys know what it should be > this issue, or how can I debug this?
Try with a one-dir build. Most of the size difference is probably due to different dynamic libraries, so with one-dir builds you will see those on the filesystem and you can compare. It's well possible that Ubuntu libs are compiled with more features turned on and thus more dependencies, compare to CentOS builds. -- Giovanni Bajo :: [email protected] Develer S.r.l. :: http://www.develer.com My Blog: http://giovanni.bajo.it -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
