Public bug reported:
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;
}
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>
</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
** Affects: mingw32-binutils (Ubuntu)
Importance: Undecided
Status: New
--
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:
Capital letters for 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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs