[PATCH v2] Support powerpc64le-linux platform

Torbjorn Granlund tg at gmplib.org
Sat Dec 14 16:55:53 UTC 2013


"Ulrich Weigand" <uweigand at de.ibm.com> writes:

  Ah, I hadn't realized that some of the 32-bit targets actually
  use files under powerpc64/, but still an .m4 file in powerpc32/.
  
It is not a very good design.  (I have some plans of reorganising the
mpn subdir to have powerpc, powerpc/32, powerpc/64 and similar for other
archs.  That would allow cleaner code sharing.)

  I guess this means the relevant .m4 files in powerpc32 also
  need to accept and ignore the second PROLOGUE_cpu argument.

  As far as I can see, this affects only elf.m4 and darwin.m4.
  Fixed by the patch below.
  
  Tested using
     ABI=mode32 ../gmp/configure --host=power6-unknown-linux-gnu
  which is one of the configurations that failed before the patch.
  
Thanks for taking care if this.  The change should momentarily appear at
the public repo.


Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list