Build gmp (version >= 6.0.0a) on iPad mini 3

Mises EnForce misesenforce at gmail.com
Tue Oct 6 19:30:59 UTC 2015


Actually no, I don't have anything on it. But even if want to cross-build
gmp, I have the same kind of error. Basically, my real concern would : I to
build gcc out of the blue, knowing that there almost nothing on my target.
For instance, I don't even have as or ld on it...
On 6 Oct 2015 21:27, "Marc Glisse" <marc.glisse at inria.fr> wrote:

> On Sat, 3 Oct 2015, Ludwig von Mises wrote:
>
> I have already successfully built gcc-5.2.0 (with gmp 6.0.0a, mpfr 3.1.2,
>> mpc 1.0.3, isl 0.14 and cloog 0.18.4) on mac os X and various linux OS'se
>> (ubuntu 15.04 64 bits, Trisquel 7 64bits...)
>>
>> I was tasked to fully build gcc 5.2 on iPad mini 3 (jailbroken, of
>> course),
>> so that I had to start with gmp's build. To start, I ran gcc's
>> config.guess
>> script which showed "arm64-apple-darwin14.0.0" to me. This (rightly)
>> worried me a bit. Nevertheless I did
>>
>> curl -kO https://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2
>>
>> tar -xjvf gmp-6.0.0a.tar.bz2
>>
>> cd gmp-6.0.0
>>
>> mkdir build && cd build
>>
>> ../configure --prefix=/usr/local/lvm/gmp-6.0.0 --enable-cxx
>>
>> which shout at me the following :
>>
>> checking build system type... Invalid configuration
>> `arm64-apple-darwin14.0.0': machine `arm64-apple' not recognized
>>
>> configure: error: /bin/sh ../config.sub arm64-apple-darwin14.0.0 failed
>>
>
> If that's what you are getting, the problem seems to be directly with the
> upstream FSF config.guess / config.sub (renamed configfsf.guess and
> configfsf.sub in GMP). The files contain instructions on submitting
> patches, I don't see much more on http://savannah.gnu.org/projects/config
> .
>
> Would anyone have an idea on how to proceed ?
>>
>
> The whole bit about building a compiler confused me. I assume you already
> have a compiler on your ipad if you are trying to compile GMP natively on
> it?
>
> --
> Marc Glisse
>


More information about the gmp-discuss mailing list