public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Windres problem with manifests
@ 2007-10-29 14:17 Duft Markus
  2007-11-07 16:23 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Duft Markus @ 2007-10-29 14:17 UTC (permalink / raw)
  To: binutils

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

Hi all!

We have ported an existing project to using a UNIX like build mechanism
under Interix, using parity as compiler
(http://www.sf.net/projects/parity). Parity is the successor of WGCC,
and also uses Microsoft's tools in the background (cl.exe, link.exe).

This existing Project used to use Microsoft resource tools rc.exe and
cvtres.exe to create resource files. I now wanted to use windres to do
the same task, so i avoid using microsoft tools directly.

I have a working windres, from which i don't know where the h*** i got
it from:

	mduft parity.new $ windres --version
	GNU windres 2.9.1
	Copyright 1997 Free Software Foundation, Inc.
	This program is free software; you may redistribute it under the
terms of
	the GNU General Public License.  This program has absolutely no
warranty.

Now the problem is, that on a fresh set-up box, this isn't there, so i
must have installed it sometime ago, but can't remember. Now i'm
building recent binutils versions (2.16 and 2.18) from source, and
enable windres with a small patch for the binutils/configure to include
it on interix.

The resulting windres seems to work, and produces .res and .o files
without problems - but: the resulting files are damaged! I stripped down
a little test case (attached) which shows, that embedding manifest files
as resource doesn't seem to work! See file "instructions" to see how to
produce the error i see (while linking the resulting object).

I could always step back and use microsofts tools for this, but still
windres would be better, i think.

Any comments and/or help would be nice.

Cheers, Markus

-- 
14. November 2007 
Salomon Automation an der LogIT Retail im Leopoldsmuseum in Wien, A 

5. Dezember 2007
Salomon Automation am  Schweizer Forum fur Logistik, Lausanne, CH




Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz


[-- Attachment #2: testcase.tgz --]
[-- Type: application/x-compressed, Size: 893 bytes --]

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

* Re: Windres problem with manifests
  2007-10-29 14:17 Windres problem with manifests Duft Markus
@ 2007-11-07 16:23 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2007-11-07 16:23 UTC (permalink / raw)
  To: Duft Markus; +Cc: binutils

Hi Markus,

> I have a working windres, from which i don't know where the h*** i got
> it from:
> 
> 	mduft parity.new $ windres --version
> 	GNU windres 2.9.1

Wow, that is old.

> The resulting windres seems to work, and produces .res and .o files
> without problems - but: the resulting files are damaged! I stripped down
> a little test case (attached) which shows, that embedding manifest files
> as resource doesn't seem to work! See file "instructions" to see how to
> produce the error i see (while linking the resulting object).

Unfortunately that test case assumes that I have cl.exe and link.exe and that I 
can run them on my local machine...  (Well I could run them. but I certainly do 
not have them).

So...
   1. What is the error that you are seeing ?

   2. If you compare an object file produced by the 2.9.1 windres and an object
      file produced by the 2.18 windres how do they differ ?

   3. Your testcase includes a Makefile and sources to build a client and a dll,
      but neither of these are referenced in the "instructions" file.  Are they
      needed at all ?

   4. Have you tried a windres built from the mainline of the binutils sources
      in the CVS repository ?

Cheers
   Nick

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

end of thread, other threads:[~2007-11-07 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-29 14:17 Windres problem with manifests Duft Markus
2007-11-07 16:23 ` Nick Clifton

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).