Cross compile Mongo C Driver for xtensa-esp32-elf Toolchain
Posted: Fri Jun 16, 2017 11:55 am
Hi,
I am trying cross compile mongo C driver to ESP32 platform on Ubuntu OS, which uses the xtensa-esp32-elf-gcc toolchain (gcc 5.2.0 based, compiled from crossNg tools). The toolchain has its own sysroot, which has an incomplete glibc library built-in.
After numerous tries on the compilation, I finally managed to run the ./configure command successfully, along with lots of LDFLAGS and CPPFLAGS. But I still unable to "make" the source because there are lack of glibc headers and library on the xtensa-esp32 toolchain, such as poll.h, sys/uio.h and etc.
Is there any possible way to build the mongo C driver for xtensa-esp32 toolchain? Or it is not possible at all.
Your suggestions and help is very much appreciated!
Regards,
Peter
I am trying cross compile mongo C driver to ESP32 platform on Ubuntu OS, which uses the xtensa-esp32-elf-gcc toolchain (gcc 5.2.0 based, compiled from crossNg tools). The toolchain has its own sysroot, which has an incomplete glibc library built-in.
After numerous tries on the compilation, I finally managed to run the ./configure command successfully, along with lots of LDFLAGS and CPPFLAGS. But I still unable to "make" the source because there are lack of glibc headers and library on the xtensa-esp32 toolchain, such as poll.h, sys/uio.h and etc.
Is there any possible way to build the mongo C driver for xtensa-esp32 toolchain? Or it is not possible at all.
Your suggestions and help is very much appreciated!
Regards,
Peter