[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Emacs 21.2.92 build size w/ MinGW gcc 3.2 (and 21.2.93/gcc 3.2)
From: |
Ron Ross |
Subject: |
Re: GNU Emacs 21.2.92 build size w/ MinGW gcc 3.2 (and 21.2.93/gcc 3.2) |
Date: |
Sun, 15 Dec 2002 03:00:50 -0500 |
Richard Stallman <address@hidden> writes:
> Still, there are just over 2MB difference in the bin directory (mostly in
> emacs.exe itself, but all binaries are somewhat larger).
>
> I suggest you try compiling both versions with the same GCC and see
> what you find.
>
> You could also try making copies of both directories and stripping them.
> That way you will see how much of the difference is debugging info
> and how much is code.
>
Sorry for this very late reply. Finally back in Windows, before building
the latest pretest (21.2.93), I thought of compiling those two previous
versions as you suggeted, comparing, stripping, etc. But, I ran into two
obstacles:
1 - 21.2.90 failed to compile with MinGW 2.0 (gcc 3.2)[1], and
2 - in the shuffle of source and binary tarballs from three different
pretests, I accidently rm'ed the gcc 2.95.2-compiled binaries of
21.2.90.
The current pretest built and installed w/o problems on
w98se/P3-667Mhz/128Mb w/ MinGW gcc 3.2/make 3.79.1
(and, for what it's worth, resulting binary sizes are nearly identical
to those of 21.2.92).
[1] It may be irrelevant now, but compilation of 21.2.90 failed w/ gcc
3.2, with the following output:
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g -mcpu=i686
-O2 -Di386 -D_CRTAPI1=_cdecl -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H
-I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o oo-spd/i386/w32fns.o
w32fns.c
w32fns.c: In function `w32_to_all_x_charsets':
w32fns.c:6142: warning: return makes integer from pointer without a cast
w32fns.c: In function `Ffile_system_info':
w32fns.c:13616: warning: passing arg 2 of pointer to function from incompatible
pointer type
w32fns.c:13616: warning: passing arg 3 of pointer to function from incompatible
pointer type
w32fns.c:13616: warning: passing arg 4 of pointer to function from incompatible
pointer type
w32fns.c:13989:1: directives may not be used inside a macro argument
w32fns.c:13979:16: unterminated argument list invoking macro "DEFVAR_LISP"
w32fns.c: In function `syms_of_w32fns':
w32fns.c:13990: `DEFVAR_LISP' undeclared (first use in this function)
w32fns.c:13990: (Each undeclared identifier is reported only once
w32fns.c:13990: for each function it appears in.)
w32fns.c:13990: parse error before string constant
mingw32-make.exe[1]: *** [oo-spd/i386/w32fns.o] Error 1
mingw32-make.exe[1]: Leaving directory `c:/Gambol/dev/emacs-21.2.90/src'
c:\MINGW\BIN\mingw32-make.exe: *** [all-other-dirs-gmake] Error 2
All the best,
Ron
- Re: GNU Emacs 21.2.92 build size w/ MinGW gcc 3.2 (and 21.2.93/gcc 3.2),
Ron Ross <=