Re: compiler problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 14, 2001 at 01:26:51PM -0800, Geoffrey Espin wrote:
> 
> I discovered that HJ Lu's toolchain seems to generate binaries
> sometimes nearly twice what I used to get with the old VR toolchain.
> Here are some of my apps (-static -stripped):
			    ^^^^^^^
> 
> OLD 'VR' tools
> 
>     -rwxr-xr-x    1 root     root       302384 Oct  4  2001 chat
>     -rwxr-xr-x    1 root     root       443848 Oct  4  2001 iptables
>     -r-sr-x---    1 root     root       619620 Oct  4  2001 pppd
>     -rwxr-xr-x    1 root     root       445788 Oct  4  2001 thttpd
>     -rwxr-xr-x    1 root     root       335560 Oct  4  2001 udhcpd
> 
> NEW gcc version 2.96 20000731
> 
>     -rwxr-xr-x    1 root     espin      543876 Nov 13 16:13 chat
>     -rwxr-xr-x    1 espin    espin      740092 Nov 13 16:13 iptables
>     -r-sr-x---    1 root     pppusers   907256 Nov 13 16:13 pppd
>     -rwxr-xr-x    1 espin    espin      703880 Nov 13 16:13 thttpd
>     -rwxr-xr-x    1 espin    espin      599200 Nov 13 16:13 udhcpd
> 
> 
> I guess this is most likely a glibc issue?

Yes. If you use -static, the binary will be bigger. If you want
smaller binaries, you should check out my sglibc.



H.J.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux