The other day I was porting some C++ applications from Centos 7 to Fedora 25/27. Of course CMake helps with the compilation part. However, when I was standing up a new VM with Fedora 27, I wanted to quickly ensure I had the right libraries present on the system to check that compilation/linking would succeed. […]
Read More
In a previous post, I described how to compile GMP (GNU MP) for Cortex M4 (eg: stm32f4) target on a Mac. I thought I would follow up and describe the steps required to build MPFR for cortex-m7 target on Mac. These steps should work just as well on Linux also. MPFR library is a C […]
Read More
For some recent prototyping work, I needed access to an arbitrary precision arithmetic library that would run on ARM. Specifically, I was using an STM32F4 Discovery Board (STM32F429I-DISC1) and wanted to try out the GNU MP Bignum Library on ARM Cortex M4. The following steps and simple project I put together shows how to cross […]
Read More
If you are building (cross platform) applications, its good to know how to check linkage/dependencies of applications and libraries. Here are some simple examples for various operating systems. Linux – ldd The ldd command prints the shared objects (shared libraries) required by each program or shared object specified on the command line. [frank@localhost ~]$ ldd […]
Read More