[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHES] patches for compiling GNU emacs 21.2 under Cygwin
From: |
Eli Zaretskii |
Subject: |
Re: [PATCHES] patches for compiling GNU emacs 21.2 under Cygwin |
Date: |
Thu, 28 Nov 2002 19:13:48 +0200 (IST) |
On Thu, 28 Nov 2002, Roman Belenov wrote:
> "Eli Zaretskii" <address@hidden> writes:
>
> > I don't really understand why is it necessary to introduce
> > _CYGWIN_EXE_SUFFIX. On Windows, there's no need to run "chmod a+rx"
> > on *.exe programs.
>
> On cygwin, it makes sense - cygwin's default behaviour on Windows
> NT and derivative systems is to map Windows permissions (including
> "Read&Execute") to its own POSIX-like ones, so chmod command above is
> not a no-op.
Sorry, I don't understand; please elaborate. Do you mean to say that
Cygwin's port of GCC produces *.exe programs whose Execute bit is not
set? In other words, if I say "gcc hello.c -o hello.exe", do you mean to
say that the produced hello.exe cannot be immediately invoked, without
running chmod on it first?