compiling GMP with arm-none-eabi-gcc

support for the ARM toolchain
Post Reply
zephyz
Posts: 1
Joined: Mon Jun 07, 2021 2:03 pm

compiling GMP with arm-none-eabi-gcc

Post by zephyz » Mon Jun 07, 2021 2:12 pm

Hi there,

I'm trying to target the GBA for a programming language I'm working on. I'm outputting c code so I was hoping I could compile the c output using arm-none-eabi-gcc. However this code depends on gmp.h I was hoping I could use arm-none-eabi-gcc to compile gmp for the platform as well but I don't know how do to that. Any pointers?

ps: I realise that might be a terrible idea because of the limitations of the platform, if you have a better idea I'm interested in hearing your suggestions!

WinterMute
Site Admin
Posts: 1534
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: compiling GMP with arm-none-eabi-gcc

Post by WinterMute » Mon Jun 07, 2021 6:07 pm

I'm not sure that a 16MHz processor with no FPU & 256K of RAM to play with is going to manage anything useful with gmp. I would suggest not depending on it for code that's targeting a GBA tbh. What do you need multi-precision arithmetic for?
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests