>>>> "juhp" == Jens-Ulrik Petersen
<petersen(a)kurims.kyoto-u.ac.jp> writes:
juhp> I am curious, can someone explain to me why for me XEmacs binaries
juhp> built under Sparc/Solaris-2+gcc-2.8 are always so much larger than
juhp> XEmacs binaries built under Intel/Linux?
juhp> -rwxr-xr-x 1 petersen 19678112 May 13 13:37 solaris/bin/xemacs*
juhp> I don't have the exact size of my Linux xemacs* binary but I seem to
juhp> recall that it is of the order of 3+Mb. Why is the Solaris binary 5
juhp> times larger?
My previous posting to this mailing list suggested that Solaris
binaries should be just a little larger.
Linux, egcs 1.0.2, CFLAGS=-O2: 2314155
Linux, egcs 1.0.2, CFLAGS=-O3: 2441153
Solaris, egcs 1.0.2, CFLAGS=-O2: 2843084
Solaris, egcs 1.0.2, CFLAGS=-O3: 2963692
But I look at my debug builds, and they are almost as big as yours:
Solaris, egcs 1.0.2, CFLAGS=-g: 18146604
It is very likely to be debug information that is repeated in all the
.o files.
Martin