PATCH: w64 native support

Paul Koning pkoning@equallogic.com
Tue Apr 10 20:55:00 GMT 2007


>>>>> "H" == H J Lu <hjl@lucon.org> writes:

 H> On Tue, Apr 10, 2007 at 07:00:14PM +0200, Kai Tietz wrote:
 >> "H. J. Lu" <hjl@lucon.org> wrote on 10.04.2007 18:12:45:
 >> 
 >> > Have you looked at
 >> > 
 >> > http://sources.redhat.com/bugzilla/show_bug.cgi?id=2737
 >> > 
 >> > Does windres work for x64?
 >> 
 >> 
 >> I replaced in all structures of windres.h the type "unsigned long"
 >> by "unsigned int" for test and patched the dependent files to use
 >> not long type-specifier in printf methods. It works that way, but
 >> I am not certain, if this would break an other target, where "int"
 >> isn't 4 bytes long ?
 H> ^^^^^ It should be host, not target.

 H> It is better than what we have today. You can add

 H> assert (sizeof (int) == 4);

Ok, I'll ask a dump question.

Isn't this the sort of platform specific type stuff that "configure"
was invented for?

    paul



More information about the Binutils mailing list