** Description changed:

  I'm cross compiling an application with i586-mingw32msvc under ubuntu.
  
  i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
  GNU windres (GNU Binutils) 2.20
  
  This is my hello.c file:
  int main() {
-     return 0;
+     return 0;
  }
  
  This is my resource file hello.rc:
  1 Manifest "hello.exe.manifest"
  
  This is my manifest file hello.exe.manifest:
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-     <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" 
name="hello" type="win32"/> 
-     <description>Hello World</description> 
-     <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
-         <security>
-             <requestedPrivileges>
-                 <requestedExecutionLevel level="requireAdministrator" 
uiAccess="false"/>
-             </requestedPrivileges>
-         </security>
-     </trustInfo>
+     <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" 
name="hello" type="win32"/>
+     <description>Hello World</description>
+     <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+         <security>
+             <requestedPrivileges>
+                 <requestedExecutionLevel level="requireAdministrator" 
uiAccess="false"/>
+             </requestedPrivileges>
+         </security>
+     </trustInfo>
  </assembly>
  
  I compile my resource file with:
  i586-mingw32msvc-windres hello.rc hello.o
  
  I compile my final application with:
  i586-mingw32msvc-gcc -O3 -Os -s -o hello.exe hello.c hello.o
  
  I've checked with SigCheck (https://technet.microsoft.com/en-
  us/sysinternals/bb897441.aspx) the manifest is not recognised and with
  Resource Hacker (http://www.angusj.com/resourcehacker) I noticed that
  the Manifest group is written in capital letters. With  Resource Hacker
  I modified the manifest group to Manifest instead of MANIFEST and now
  the manifest file is recognised.
  
  Further details can be found in this question I've raised in StackOverflow: 
http://stackoverflow.com/questions/33000158
  but it seems from the look of it as a bug with i586-mingw32msvc-windres
+ 
+ 
+ EDIT: Could someone please close this bug report..
+ 
+ I've edited my RC file with some voodoo:
+ 1 24 "hello.exe.manifest"
+ And everything is fine.. :-P

** Summary changed:

- Capital letters for manifest group in resource file
+ Manifest group in resource file

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1503916

Title:
  Manifest group in resource file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mingw32-binutils/+bug/1503916/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to