From: | Rudi Chiarito |
Date: | 21 Aug 2000 at 15:38:55 |
Subject: | Re: AMIOPEN: Amiga python |
On Sun, Aug 20, 2000 at 03:43:47PM -0500, Marc Culler wrote:
> Two things were slightly disappointing to me about this port. First,
> my python.00 executable is 551388 bytes, versus 319980 for the
> stripped linux executable. (The linux executable is version 1.5, and
> the Amiga version is 1.6, but I am pretty sure that the VP executable
> will be somewhat larger than the linux native version of the same
> program.) I had hoped that VP code would turn out to be more compact
I tried recompiling the very same sources you sent me under both Elate
and Linux. For Linux, all I did was "./configure; make clean; make".
Here are the results for the stripped binaries:
[yax@ciccillo AmiPython]$ ls -l python Amiga/python.00
-rw-r----- 1 yax yax 551535 Aug 21 09:19 Amiga/python.00
-rwxrwxr-x 1 yax yax 591828 Aug 21 09:18 python
Judging by the output of ldd, the Linux executable is not linked against
libpython (just against the usual shared libraries).
It still might not be totally accurate, as the Linux version might be
including more modules. Under Linux, there are more symbols defined in
config.h, as it's a "real" Unix system. Some would probably just activate
alternative sections of code in conditional statements, but I suppose
others would add more code (which isn't present in the Elate version).