cross-compiling LIBGMP for arm-rtemseabi4.11 toolchain

Ralf Corsepius ralf.corsepius at rtems.org
Wed May 23 17:10:05 UTC 2012


On 05/23/2012 06:51 PM, Jiri Freyvald wrote:
> On 05/23/2012 05:31 PM, Ralf Corsepius wrote:
>> On 05/23/2012 06:07 PM, Gedare Bloom wrote:
>>> On Wed, May 23, 2012 at 11:48 AM, Jiri
>>> Freyvald<jiri.freyvald at gmail.com> wrote:
>>>>
>>>> ./configure --build=arm-rtemseabi4.11
>>>>
>>> Maybe this should be --target=arm-rtemseabi4.11 I'm not sure if it
>>> would make a difference.
>
> I tried put --target too, but it tells me:
> configure: error: --target is not appropriate for GMP
> Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
> explicitly.
> Use --host if cross-compiling
>
> and I tried --host=arm-rtemseabi4.11 and it gave me the same error as in
> case --build

Toplevel configure script!

tar xf gcc-<xxx>.tar.bz2
tar xf gmp-<yyy>.tar.gz
ln -s ../gmp-<yyy> gcc-<xxx>/gmp

cd gcc-<xxx>
./configure --target=arm-rtemseabi4.11 <many more options>

Analogous for other similar libs.


Ralf




More information about the users mailing list