Daniel Jacobowitz wrote on 11.04.2007 17:00:31: > On Wed, Apr 11, 2007 at 04:17:40PM +0200, Kai Tietz wrote: > > The "long long" would work, if there would not be the -Werror parameter > > for gcc. The gcc bubbles a warning also for the case, that the integer > > casted to/from a pointer is bigger :(. This would break an cross from > > 32-bit to 64-bit. > > We already have an autoconf macro in the tree to generate a stdint.h. > Gnulib also has one that we can import. > > It's long past time to start assuming intptr_t. Yes, ice ages ... It seems that on every project and library the same old story reappears ;) But as I learned, not on every c-runtime necessarily an stdint header is present and/or want to be included ;() Re-inventing the wheel, may this patch could work (beside the BFD_HOSTPTR_T_PRT_X). 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