gmp-4.2.4 on coldfire

Bernhard Reutner-Fischer at
Wed Jan 14 12:08:04 CET 2009

On Wed, Jan 14, 2009 at 11:15:17AM +0100, Bernhard Reutner-Fischer wrote:
>Building gmp-4.2.4 for an m68k that targets coldfire fails for me
>since it's trying to use the incompatible m68k impls.
>I'm attaching a workaround to use the C implementation for coldfire.
>This particular patchlet does look at the CFLAGS that are passed in
>to configure but grepping for a coldfire specific CPP define would
>certainly be more robust. Please let me know if you prefer using
>AC_EGREP_CPP or the like to look for __mcoldfire__ or if there is
>a different preferred way.
>    use the C fallbacks for coldfire
>      The configuration part is not really adequate since this doesn't
>      catch a compiler which defaults to coldfire (like we do). Testing
>      the CFLAGS is good enough for us ATM..
>2009-01-14  Bernhard Reutner-Fischer  <>
>	* (M68K_PATTERN): Distinguish between coldfire and m68k.
>	* gmp-impl.h (FORCE_DOUBLE): Also define for coldfire.
>	* configure: Regenerate.

I forgot to attach the patch..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m68k-coldfire-for-libgmp.02.patch
Type: text/x-diff
Size: 10872 bytes
Desc: not available
Url : 

More information about the gmp-discuss mailing list