Hello, I have isolated the windres patch from the w64 one. ChangeLog: 2007-04-11 Kai Tietz * binutils/resres.c: Cast sizeof explicit to type "long". (res_hdr): Changed to use int instead of long. (resres_host_bigendian, HOST_ISBIGENDIAN): Check for big endian hosts. (write_res_data_16, write_res_data_32, write_res_data_res_hdr, read_res_data_16, read_res_data_32, read_res_data_res_hdr): New. * binutils/resrc.c: Adjust printf formatter for ints. * binutils/windres.c: (main): Assert if sizeof(int) not 4 bytes. * binutils/windres.h: Changed windows structure to use int type instead of long type. Regards, i.A. Kai Tietz ------------------------------------------------------------------------------------------ OneVision Software Entwicklungs GmbH & Co. KG Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050 Handelsregister: HRA 6744, Amtsgericht Regensburg Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: Ulrike Döhler, Manuela Kluger