| To: | Geoffrey Espin <espin@idiom.com> |
|---|---|
| Subject: | Re: compiler problem |
| From: | "H . J . Lu" <hjl@lucon.org> |
| Date: | Wed, 14 Nov 2001 14:07:14 -0800 |
| Cc: | linux-mips-kernel@lists.sourceforge.net, linux-mips <linux-mips@oss.sgi.com> |
| In-reply-to: | <20011114132651.A85263@idiom.com>; from espin@idiom.com on Wed, Nov 14, 2001 at 01:26:51PM -0800 |
| References: | <1005591216.470.20.camel@zeus> <20011114134718.E16741@dea.linux-mips.net> <20011114132651.A85263@idiom.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: compiler problem, Geoffrey Espin |
|---|---|
| Next by Date: | Inclusion of rrm.o in export-objs, Ivan Hamilton |
| Previous by Thread: | Re: compiler problem, Geoffrey Espin |
| Next by Thread: | initrd disabled, balaji . ramalingam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |