all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs.exe is > 32M for w32
@ 2009-02-27 16:44 Leo
  2009-02-27 18:12 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Leo @ 2009-02-27 16:44 UTC (permalink / raw)
  To: emacs-devel

Hi there,

Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/

The executable emacs.exe is larger than 32 Mb.

http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
problem.

Can this be made smaller?  I have seen other people provided a much
smaller executable (~8.7M). For example:

http://code.google.com/p/emacs-for-windows/

Best wishes,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 16:44 emacs.exe is > 32M for w32 Leo
@ 2009-02-27 18:12 ` Eli Zaretskii
  2009-02-27 19:40   ` Leo
  2009-02-27 18:15 ` Lennart Borgman
  2009-02-27 18:25 ` Chetan Pandya
  2 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2009-02-27 18:12 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

> From: Leo <sdl.web@gmail.com>
> Date: Fri, 27 Feb 2009 16:44:12 +0000
> 
> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
> 
> The executable emacs.exe is larger than 32 Mb.
> 
> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
> problem.
> 
> Can this be made smaller?

Does it help to say "strip emacs.exe"?




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 16:44 emacs.exe is > 32M for w32 Leo
  2009-02-27 18:12 ` Eli Zaretskii
@ 2009-02-27 18:15 ` Lennart Borgman
  2009-02-27 18:27   ` Lennart Borgman
  2009-02-27 18:25 ` Chetan Pandya
  2 siblings, 1 reply; 17+ messages in thread
From: Lennart Borgman @ 2009-02-27 18:15 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

On Fri, Feb 27, 2009 at 5:44 PM, Leo <sdl.web@gmail.com> wrote:
> Hi there,
>
> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
>
> The executable emacs.exe is larger than 32 Mb.
>
> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
> problem.

No, the executable that comes with Emacs+EmacsW32 (from the link
above) is about 9 MB.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 16:44 emacs.exe is > 32M for w32 Leo
  2009-02-27 18:12 ` Eli Zaretskii
  2009-02-27 18:15 ` Lennart Borgman
@ 2009-02-27 18:25 ` Chetan Pandya
  2 siblings, 0 replies; 17+ messages in thread
From: Chetan Pandya @ 2009-02-27 18:25 UTC (permalink / raw)
  To: emacs-devel

 
> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
> 
> The executable emacs.exe is larger than 32 Mb.
> 
> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
> problem.
> 
> Can this be made smaller?  I have seen other people provided a much
> smaller executable (~8.7M). For example:
> 
> http://code.google.com/p/emacs-for-windows/
> 
It is possible to strip the executable (using strip.exe). It is generally better to have the debug information, as it can provide better diagnostics.  Pretest versions are generally meant for people who are willing to help with bugs so it makes sense to have debugging information.  It increases the download size, but has no other ill effects.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 18:15 ` Lennart Borgman
@ 2009-02-27 18:27   ` Lennart Borgman
  0 siblings, 0 replies; 17+ messages in thread
From: Lennart Borgman @ 2009-02-27 18:27 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

On Fri, Feb 27, 2009 at 7:15 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Fri, Feb 27, 2009 at 5:44 PM, Leo <sdl.web@gmail.com> wrote:
>> Hi there,
>>
>> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
>>
>> The executable emacs.exe is larger than 32 Mb.
>>
>> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
>> problem.
>
> No, the executable that comes with Emacs+EmacsW32 (from the link
> above) is about 9 MB.


Ehum, Leo, you are right. The unpatched version (which comes with
debug information) is 33 MB.

The patched version (which does not contain debug information) is 9 MB.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 18:12 ` Eli Zaretskii
@ 2009-02-27 19:40   ` Leo
  2009-02-27 20:00     ` Sebastian Rose
  2009-02-27 21:34     ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Leo @ 2009-02-27 19:40 UTC (permalink / raw)
  To: emacs-devel

On 2009-02-27 18:12 +0000, Eli Zaretskii wrote:
>> From: Leo <sdl.web@gmail.com>
>> Date: Fri, 27 Feb 2009 16:44:12 +0000
>> 
>
>> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
>> 
>> The executable emacs.exe is larger than 32 Mb.
>> 
>> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
>> problem.
>> 
>> Can this be made smaller?
>
> Does it help to say "strip emacs.exe"?

After doing this, it becomes invalid w32 program.

I used to do this when I compiled emacs on GNU/Linux.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 19:40   ` Leo
@ 2009-02-27 20:00     ` Sebastian Rose
  2009-02-27 20:05       ` Leo
  2009-02-27 21:34     ` Eli Zaretskii
  1 sibling, 1 reply; 17+ messages in thread
From: Sebastian Rose @ 2009-02-27 20:00 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel


Try:

strip.exe -d --strip-unneeded   emacs.exe



Leo <sdl.web@gmail.com> writes:
> On 2009-02-27 18:12 +0000, Eli Zaretskii wrote:
>>> From: Leo <sdl.web@gmail.com>
>>> Date: Fri, 27 Feb 2009 16:44:12 +0000
>>> 
>>
>>> Emacs from: http://alpha.gnu.org/gnu/emacs/pretest/windows/
>>> 
>>> The executable emacs.exe is larger than 32 Mb.
>>> 
>>> http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl suffers the same
>>> problem.
>>> 
>>> Can this be made smaller?
>>
>> Does it help to say "strip emacs.exe"?
>
> After doing this, it becomes invalid w32 program.
>
> I used to do this when I compiled emacs on GNU/Linux.

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 20:00     ` Sebastian Rose
@ 2009-02-27 20:05       ` Leo
  2009-02-27 22:41         ` Sebastian Rose
  0 siblings, 1 reply; 17+ messages in thread
From: Leo @ 2009-02-27 20:05 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-devel

On 2009-02-27 20:00 +0000, Sebastian Rose wrote:
> Try:
>
> strip.exe -d --strip-unneeded   emacs.exe

Same error:

 "emacs.exe is not a valid win32 application."


By the way, I use binutils from: http://www.mingw.org/.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 19:40   ` Leo
  2009-02-27 20:00     ` Sebastian Rose
@ 2009-02-27 21:34     ` Eli Zaretskii
  2009-02-27 22:23       ` Juanma Barranquero
  2009-02-28  1:50       ` Jason Rumney
  1 sibling, 2 replies; 17+ messages in thread
From: Eli Zaretskii @ 2009-02-27 21:34 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

> From: Leo <sdl.web@gmail.com>
> Date: Fri, 27 Feb 2009 19:40:35 +0000
> 
> > Does it help to say "strip emacs.exe"?
> 
> After doing this, it becomes invalid w32 program.

That probably means your `strip' command is incompatible with the
development tools used to build emacs.exe.  Is `strip' a Cygwin port,
by chance?  You need `strip.exe' from the MinGW Binutils, not from
Cygwin.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 21:34     ` Eli Zaretskii
@ 2009-02-27 22:23       ` Juanma Barranquero
  2009-02-27 23:32         ` David Robinow
  2009-02-28  1:50       ` Jason Rumney
  1 sibling, 1 reply; 17+ messages in thread
From: Juanma Barranquero @ 2009-02-27 22:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Leo, emacs-devel

On Fri, Feb 27, 2009 at 22:34, Eli Zaretskii <eliz@gnu.org> wrote:

> That probably means your `strip' command is incompatible with the
> development tools used to build emacs.exe.  Is `strip' a Cygwin port,
> by chance?  You need `strip.exe' from the MinGW Binutils, not from
> Cygwin.

Whenever I've tried to strip the Emacs executable, I've got an invalid
emacs.exe.

That, using a MinGW strip.exe on a MinGW-compiled Emacs.

    Juanma




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 20:05       ` Leo
@ 2009-02-27 22:41         ` Sebastian Rose
  0 siblings, 0 replies; 17+ messages in thread
From: Sebastian Rose @ 2009-02-27 22:41 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

Leo <sdl.web@gmail.com> writes:
> On 2009-02-27 20:00 +0000, Sebastian Rose wrote:
>> Try:
>>
>> strip.exe -d --strip-unneeded   emacs.exe
>
> Same error:
>
>  "emacs.exe is not a valid win32 application."


Hm - this worked for me when I compiled on windows the last time. It's
more than a year ago actually.


-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 22:23       ` Juanma Barranquero
@ 2009-02-27 23:32         ` David Robinow
  2009-02-28 14:44           ` Jason Rumney
  0 siblings, 1 reply; 17+ messages in thread
From: David Robinow @ 2009-02-27 23:32 UTC (permalink / raw)
  To: emacs-devel

On Fri, Feb 27, 2009 at 5:23 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Fri, Feb 27, 2009 at 22:34, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> That probably means your `strip' command is incompatible with the
>> development tools used to build emacs.exe.  Is `strip' a Cygwin port,
>> by chance?  You need `strip.exe' from the MinGW Binutils, not from
>> Cygwin.
>
> Whenever I've tried to strip the Emacs executable, I've got an invalid
> emacs.exe.
>
> That, using a MinGW strip.exe on a MinGW-compiled Emacs.

I thought 'strip' had worked at some time in the past, but I'm getting
the same result.
Not that I actually care. I normally use  "configure --no-debug"




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 21:34     ` Eli Zaretskii
  2009-02-27 22:23       ` Juanma Barranquero
@ 2009-02-28  1:50       ` Jason Rumney
  2009-02-28  3:53         ` Óscar Fuentes
  1 sibling, 1 reply; 17+ messages in thread
From: Jason Rumney @ 2009-02-28  1:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Leo, emacs-devel

Eli Zaretskii wrote:
> That probably means your `strip' command is incompatible with the
> development tools used to build emacs.exe.  Is `strip' a Cygwin port,
> by chance?  You need `strip.exe' from the MinGW Binutils, not from
> Cygwin.
>   

I get the same error, using MinGW binutils on emacs.exe that I've built 
myself. It only happens with emacs.exe, so it is probably something in 
the dumping process confuses strip. My strip --version is:

GNU strip 2.17.50 20060824

If anyone has strip.exe working with emacs.exe, could you post your 
strip version here for comparison.






^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-28  1:50       ` Jason Rumney
@ 2009-02-28  3:53         ` Óscar Fuentes
  2009-02-28 11:03           ` Eli Zaretskii
  0 siblings, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2009-02-28  3:53 UTC (permalink / raw)
  To: emacs-devel

Jason Rumney <jasonr@gnu.org> writes:

> I get the same error, using MinGW binutils on emacs.exe that I've
> built myself. It only happens with emacs.exe, so it is probably
> something in the dumping process confuses strip. My strip --version
> is:
>
> GNU strip 2.17.50 20060824
>
> If anyone has strip.exe working with emacs.exe, could you post your
> strip version here for comparison.

2.18.50.20080109 *FAILS* too.

-- 
Oscar





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-28  3:53         ` Óscar Fuentes
@ 2009-02-28 11:03           ` Eli Zaretskii
  0 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2009-02-28 11:03 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: emacs-devel

> From: =?windows-1252?Q?=D3scar_Fuentes?= <ofv@wanadoo.es>
> Date: Sat, 28 Feb 2009 04:53:49 +0100
> 
> Jason Rumney <jasonr@gnu.org> writes:
> 
> > I get the same error, using MinGW binutils on emacs.exe that I've
> > built myself. It only happens with emacs.exe, so it is probably
> > something in the dumping process confuses strip. My strip --version
> > is:
> >
> > GNU strip 2.17.50 20060824
> >
> > If anyone has strip.exe working with emacs.exe, could you post your
> > strip version here for comparison.
> 
> 2.18.50.20080109 *FAILS* too.

As does

    GNU strip 2.15.91 20040904

I filed a bug report for this problem (I agree with Jason that
something in our dumping process confuses `strip').

I think this problem should be fixed before Emacs 23.1 is released.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-27 23:32         ` David Robinow
@ 2009-02-28 14:44           ` Jason Rumney
  2009-02-28 15:58             ` Eli Zaretskii
  0 siblings, 1 reply; 17+ messages in thread
From: Jason Rumney @ 2009-02-28 14:44 UTC (permalink / raw)
  To: David Robinow; +Cc: emacs-devel

David Robinow wrote:
> I thought 'strip' had worked at some time in the past

The oldest version of Emacs I have installed is 21.3, and strip causes 
the same problem there.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: emacs.exe is > 32M for w32
  2009-02-28 14:44           ` Jason Rumney
@ 2009-02-28 15:58             ` Eli Zaretskii
  0 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2009-02-28 15:58 UTC (permalink / raw)
  To: Jason Rumney; +Cc: emacs-devel, drobinow

> Date: Sat, 28 Feb 2009 22:44:48 +0800
> From: Jason Rumney <jasonr@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> David Robinow wrote:
> > I thought 'strip' had worked at some time in the past
> 
> The oldest version of Emacs I have installed is 21.3, and strip causes 
> the same problem there.

In that case, I guess testing with -gstabs that I suggested is not
necessary.




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-02-28 15:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27 16:44 emacs.exe is > 32M for w32 Leo
2009-02-27 18:12 ` Eli Zaretskii
2009-02-27 19:40   ` Leo
2009-02-27 20:00     ` Sebastian Rose
2009-02-27 20:05       ` Leo
2009-02-27 22:41         ` Sebastian Rose
2009-02-27 21:34     ` Eli Zaretskii
2009-02-27 22:23       ` Juanma Barranquero
2009-02-27 23:32         ` David Robinow
2009-02-28 14:44           ` Jason Rumney
2009-02-28 15:58             ` Eli Zaretskii
2009-02-28  1:50       ` Jason Rumney
2009-02-28  3:53         ` Óscar Fuentes
2009-02-28 11:03           ` Eli Zaretskii
2009-02-27 18:15 ` Lennart Borgman
2009-02-27 18:27   ` Lennart Borgman
2009-02-27 18:25 ` Chetan Pandya

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.