I've found no documentation or examples/tutorals on how to compile C/C++ for the Linux side of Portenta X8. No cross compiler or libraries documentation.
Having investigated the problem more thoroughly, I answer myself, in case anyone needs it:
- X8's Linux side is mainly designed to work with Python applications in Docker containers.
- The SO image provided is a pre-compiled system so direct modifications to run C/C++ programs on the base image are not possible.
- There are no official example of how to create applications in C/C++ and no cross compiler to use for the Linux side.
- The only alternative is creating a custom image ( https://docs.arduino.cc/tutorials/portenta-x8/image-building/ )
1 Like
I was going to say, create a custom container that has he build tools and build chain you needed. As a c, c++ developer I agree, it is very limiting to force people into using Python and not provide this ability.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.