On Fri, 2 Apr 2010 09:27:12 -0700 (PDT), King <[email protected]>
wrote:
> Hi Giovanni,
> Ticket #165 and #145 points to the same problem.
> You have suggested a solution to compile boot loader using LSB to
> overcome the libc dependency on Linux platform.
> Could you please give a me rough estimate for how long it'll take to
> implement this feature.
> I am eagerly looking for this feature to get implemented.

Hello,

thank you for your interest. Unfortunately, I cannot provide you with an
estimate. I mostly work on PyInstaller in my spare time or sometimes I do
find a sponsor for a specific feature. This feature is planned for
PyInstaller 1.5, but I am not sure of how long it would take to get it
merged.

> I don't mind giving a try for myself if you could point me out some
> directions. Although my skill sets in C/C++ are limited but at least I
> could give a try.

Sure: what I would try is to attempt recompiling the bootloader with a
different buildsystem, eg: cmake. So I would completely ditch the current
Make.py generator, and start again with cmake. Compiling the bootloader
with it should be very easy.

Then, I would try changing the compiler from gcc to lsb-gcc. I assume
there is a way to tell cmake to use lsb-gcc in place of gcc. This should be
sufficient. Of course, some testing on different platforms would be
required as well. I know for instance there is an online LSB checker
somewhere, where you can upload your binary and check how much it is
compatible.

Of course, the bootloader doesn't fix it all: your package would still
bring in dynamic libraries from your system, and those might not be
compatible with your target system. But at least it would be a first step.

Binary compatibility on Linux is a real mess, it's something which is not
really suggested or encouraged :( 
-- 
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.

Reply via email to