unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20113: windows binary contains two identical executables
@ 2015-03-15 23:59 Mario Valencia
  2015-03-16  3:45 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Mario Valencia @ 2015-03-15 23:59 UTC (permalink / raw)
  To: 20113

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

http://ftp.gnu.org/gnu/emacs/windows/
the windows binary emacs-24.4-bin-i686-pc-mingw32.zip
contains two identical executables called emacs.exe and emacs24.4.exe

[-- Attachment #2: Type: text/html, Size: 260 bytes --]

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

* bug#20113: windows binary contains two identical executables
  2015-03-15 23:59 bug#20113: windows binary contains two identical executables Mario Valencia
@ 2015-03-16  3:45 ` Eli Zaretskii
  2015-03-16 16:37   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2015-03-16  3:45 UTC (permalink / raw)
  To: Mario Valencia; +Cc: 20113-done

> Date: Sun, 15 Mar 2015 17:59:46 -0600
> From: Mario Valencia <mariovalspi@gmail.com>
> 
> http://ftp.gnu.org/gnu/emacs/windows/
> the windows binary emacs-24.4-bin-i686-pc-mingw32.zip
> contains two identical executables called emacs.exe and emacs24.4.exe

Yes.  It's a feature: it allows you to later override emacs.exe with a
newer version, but keep the other one for reference, if you need it.
That's how "make install" installs the binaries.

Ideally, they should be hard links to the same data, but AFAIK zip
files on Windows don't support hard links.

IOW, not a bug; closing.





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

* bug#20113: windows binary contains two identical executables
  2015-03-16  3:45 ` Eli Zaretskii
@ 2015-03-16 16:37   ` Glenn Morris
  2015-03-16 17:06     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2015-03-16 16:37 UTC (permalink / raw)
  To: 20113; +Cc: mariovalspi

Eli Zaretskii wrote:

> Yes.  It's a feature: it allows you to later override emacs.exe with a
> newer version, but keep the other one for reference, if you need it.

I wonder if this is worth it on MS Windows.
IIUC, install does not install the binaries to a single /usr/local/bin
equivalent, instead each Emacs version lives under an entirely separate
top-level directory? So is anyone really likely to just replace one of
those binaries within that tree?

> Ideally, they should be hard links to the same data, but AFAIK zip
> files on Windows don't support hard links.

What about symbolic?

But really it sounds like it's not worth having two versions on MS
Windows.





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

* bug#20113: windows binary contains two identical executables
  2015-03-16 16:37   ` Glenn Morris
@ 2015-03-16 17:06     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2015-03-16 17:06 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 20113, mariovalspi

> From: Glenn Morris <rgm@gnu.org>
> Cc: eliz@gnu.org,  mariovalspi@gmail.com
> Date: Mon, 16 Mar 2015 12:37:11 -0400
> 
> Eli Zaretskii wrote:
> 
> > Yes.  It's a feature: it allows you to later override emacs.exe with a
> > newer version, but keep the other one for reference, if you need it.
> 
> I wonder if this is worth it on MS Windows.

I think it is, even beyond the usual argument of behaving the same on
all platforms.

> IIUC, install does not install the binaries to a single /usr/local/bin
> equivalent, instead each Emacs version lives under an entirely separate
> top-level directory?

Nope, not anymore.  Not since we switched to Posix-like build
procedures.  See nt/README.

> > Ideally, they should be hard links to the same data, but AFAIK zip
> > files on Windows don't support hard links.
> 
> What about symbolic?

Symbolic links are a PITA on Windows, even on those newer versions
where they are supported.  E.g., their creation requires privileges.





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

end of thread, other threads:[~2015-03-16 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-15 23:59 bug#20113: windows binary contains two identical executables Mario Valencia
2015-03-16  3:45 ` Eli Zaretskii
2015-03-16 16:37   ` Glenn Morris
2015-03-16 17:06     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).