Cross compiling
Toolchains and External Libraries Integration
There were two possibilities regarding how to embed external libraries in the target:
- Put the libraries directly into the generated distribution. Only the execution of the generated SDK is needed to build
the application. But with this solution, come several downsides:
- The dependency version cannot be modified without rebuilding all the image;
- All the application should work with the same library version;
- We must have the control over the image to be able to add the library we want. This may not be possible with provided platforms.
- The second approach is to build the dependencies on top of the provided SDK and expose the aggregate. The biggest downside is that it is harder to maintain since we need more script to encapsulate the whole build process, but it provides full freedom of the libraries we want to use.