cross-compiling LIBGMP for arm-rtemseabi4.11 toolchain

Jiri Freyvald jiri.freyvald at gmail.com
Wed May 23 15:48:51 UTC 2012


Hello,
I am just at the beginning to discover RTEMS. I am interested mainly in 
the existing port for STM32F4xx board as it is at the moment one of the 
most affordable board available.

I installed VirtualBox image RTEMS 4.11 CentOS 6.2 and tried to follow 
all the steps described
on wiki:
http://www.rtems.com/wiki/index.php/Virtual_Machines_for_RTEMS_Development

but as I need to create cross-toolchain for arm-rtemseabi4.11, I have to 
build  GMP and MPC for the same cross platform,
so I modified configure for GMP to:

./configure --build=arm-rtemseabi4.11

and I got error:

checking size of mp_limb_t... 8
configure: error: Oops, mp_limb_t is 64 bits, but the assembler code
in this configuration expects 32 bits.

It is probably GMP issue, or some parameter is missing,
because when I tried the same with ARM toolchain (which I have been 
using for some time recently):

./configure --build=arm-none-eabi

I got the same error.

Have anyone had the same problem? Or do you have any clue what have I 
done wrong?

Thank you in advance for your help,
Jiri









More information about the users mailing list