cross-compiling LIBGMP for arm-rtemseabi4.11 toolchain

Jiri Freyvald jiri.freyvald at gmail.com
Thu May 31 15:17:55 UTC 2012


Hi,
finally I succeed with building cross toolchain for ARM.
soft-links /usr/lib/libmpfr.so.1 and /usr/lib/libgmp.so.3 to my version 
of those libs
solved the problem.
Now I can install toolchain using rpm's from .../centos/6/x86_64/
or build cross toolchain from source code. Both works.

Thank you for your suggestion
Jiri


On 05/23/12 18:14, Gedare Bloom wrote:
> On Wed, May 23, 2012 at 12:51 PM, Jiri Freyvald<jiri.freyvald at gmail.com>  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
>>
> host would be your desktop, e.g. x86_64-linux or something. I guess
> try to install the packages from EPEL as Ralf suggested, and/or link
> the gmp and mpc library sources in your gcc source tree directly and
> just build gcc.
>
>>
>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list