cross-compiling LIBGMP for arm-rtemseabi4.11 toolchain
gedare at rtems.org
Wed May 23 16:07:54 UTC 2012
On Wed, May 23, 2012 at 11:48 AM, Jiri Freyvald <jiri.freyvald at gmail.com> wrote:
Hi, and welcome!
> 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:
> but as I need to create cross-toolchain for arm-rtemseabi4.11, I have to
> build GMP and MPC for the same cross platform,
You might try soft-linking mpc and gmp directly in the gcc source
tree. I think gcc will find and build them appropriately for you if
they are in its directory tree.
ln -s ../mpc-version mpc
ln -s ../gmp-version gmp
> so I modified configure for GMP to:
> ./configure --build=arm-rtemseabi4.11
Maybe this should be --target=arm-rtemseabi4.11 I'm not sure if it
would make a difference.
> 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
> Thank you in advance for your help,
> rtems-users mailing list
> rtems-users at rtems.org
More information about the users