STM32CubeIDE can't use gmp.h?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-24 10:00 PM
I wanna use big number in my board.
So, i try to use 'gmp.h'.
But when i use 'mpz_init' function, that have error message like this.
-> 'undefined reference to `__gmpz_init''
Should I make this function myself????
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25 1:24 AM
Hi,
libgmp is not included in STM32CubeIDE toolchain. So if you need to gmp you will need to build the library yourself.
The toolchain included in STM32CubeIDE supports long long to support big integers (64-bits).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25 1:24 AM
Hi,
libgmp is not included in STM32CubeIDE toolchain. So if you need to gmp you will need to build the library yourself.
The toolchain included in STM32CubeIDE supports long long to support big integers (64-bits).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25 1:56 AM
Thank u for reply, EJOHA!
Actually, i wanna using 2^512 bits integer.
What's the best way to do you have any idea?:grinning_face:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25 2:29 AM
No I have not been using such big integers. If you are application is into crypto maybe you can look into the STM32 cryptographic firmware library on ST web site.
