GNU bug report logs - #12993
Wrong icon for Cygw32-Emacs

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Sun, 25 Nov 2012 14:52:02 UTC

Severity: minor

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 12993 <at> debbugs.gnu.org, dancol <at> dancol.org
Subject: bug#12993: Wrong icon for Cygw32-Emacs
Date: Mon, 08 Apr 2013 19:24:49 +0300
> Date: Mon, 08 Apr 2013 11:25:43 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: dancol <at> dancol.org, 12993 <at> debbugs.gnu.org
> 
> $ objdump -fh src/emacs.res
> 
> src/emacs.res:     file format pe-i386
> architecture: i386, flags 0x00000039:
> HAS_RELOC, HAS_DEBUG, HAS_SYMS, HAS_LOCALS
> start address 0x00000000
> 
> Sections:
> Idx Name          Size      VMA               LMA               File off 
>   Algn
>    0 .rsrc         0000d5f0  00000000  00000000  0000003c  2**2
>                    CONTENTS, ALLOC, LOAD, RELOC, DATA

That doesn't look right, the format shouldn't be pe-i386.  What do you
get for any .o file compiled by the 64-bit Cygwin GCC?

> > > Is it possible that the problem is in nt/emacs.rc after all?
> >
> > Unlikely, since it works with the 64-bit Microsoft compiler.  Does
> > Cygwin64 define WIN64?  If not, it might be getting the wrong version
> > of the manifest.
> 
> No, it doesn't define WIN64.  It does define __x86_64__ if that helps.

Then please try editing emacs.rc to change

  #ifdef WIN64
  1 24 "emacs-x64.manifest"
  #else
  1 24 "emacs-x86.manifest"
  #endif

into

  #ifdef __x86_64__
  1 24 "emacs-x64.manifest"
  #else
  1 24 "emacs-x86.manifest"
  #endif

and see if that helps.




This bug report was last modified 12 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.