[lfs-dev] why gcc-4.9.0 create larger files on 32bits system than 64btis.

Andrew Haley aph at redhat.com
Sun Apr 27 01:58:16 PDT 2014


On 04/27/2014 03:45 AM, xinglp wrote:
> For example, on my newly built lfs system:
> $ ls -lh {2014-04-27-3.14.1-x86_64,2014-04-27-3.14.1-i686}/bin/{xz,bash,sync}
> -rwxr-xr-x 1 root root 806K Apr 26 23:54 2014-04-27-3.14.1-i686/bin/bash
> -rwxr-xr-x 1 root root 747K Apr 27 04:25 2014-04-27-3.14.1-x86_64/bin/bash
> -rwxr-xr-x 1 root root  22K Apr 26 23:54 2014-04-27-3.14.1-i686/bin/sync
> -rwxr-xr-x 1 root root  24K Apr 27 04:25 2014-04-27-3.14.1-x86_64/bin/sync
> -rwxr-xr-x 1 root root  67K Apr 26 23:54 2014-04-27-3.14.1-i686/bin/xz
> -rwxr-xr-x 1 root root  64K Apr 27 04:25 2014-04-27-3.14.1-x86_64/bin/xz
> The "i686" version files are bigger than the "x86_64". Why ?

You'll have to look inside to find out.  Objdump is your friend.

Andrew.




More information about the lfs-dev mailing list