From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22999 invoked by alias); 10 Apr 2007 17:18:44 -0000 Received: (qmail 22989 invoked by uid 22791); 10 Apr 2007 17:18:44 -0000 X-Spam-Check-By: sourceware.org Received: from smtp103.sbc.mail.re2.yahoo.com (HELO smtp103.sbc.mail.re2.yahoo.com) (68.142.229.102) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 10 Apr 2007 18:18:32 +0100 Received: (qmail 54531 invoked from network); 10 Apr 2007 17:18:30 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@75.61.85.239 with login) by smtp103.sbc.mail.re2.yahoo.com with SMTP; 10 Apr 2007 17:18:29 -0000 X-YMail-OSG: NAWkeAAVM1kJ9zrYTrYrGLZeOvnYR_JRMKi122H2L5kpNruP95Zi_5r_GSY0BSGW.h_lWNofRE1f0s0UI1nWZmTgd6jdMlr8gEL6qfO5Sz2NKd550bf9aTntK21wEg-- Received: by lucon.org (Postfix, from userid 500) id D485146EEEB; Tue, 10 Apr 2007 10:18:28 -0700 (PDT) Date: Tue, 10 Apr 2007 17:18:00 -0000 From: "H. J. Lu" To: Kai Tietz Cc: binutils@sources.redhat.com Subject: Re: PATCH: w64 native support Message-ID: <20070410171828.GA22148@lucon.org> References: <20070410161245.GA21801@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00081.txt.bz2 On Tue, Apr 10, 2007 at 07:00:14PM +0200, Kai Tietz wrote: > "H. J. Lu" 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 ? ^^^^^ It should be host, not target. It is better than what we have today. You can add assert (sizeof (int) == 4); somewhere. H.J.