------- Additional Comments From hjl dot tools at gmail dot com 2008-02-02 16:24 ------- Created an attachment (id=2228) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2228&action=view) A patch
My gcc 4.1 cross compiler for 32bit mingw doesn't understand %I64. This patch allows me to build binutils hosted on 32bit mingw for 64bit target. If %ll was never supported on 32bit mingw, mingw should use things like #define _bfd_int64_low(x) ((unsigned long) (((x) & 0xffffffff))) #define _bfd_int64_high(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) #define fprintf_vma(s,x) \ fprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x)) #define sprintf_vma(s,x) \ sprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x)) to print out 64bit value. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5715 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils