Cross-Compilation

Saw this while going through the VPI documentation.

Cross-compilation is the process of compiling code on one system (the “host”) to produce executable code for a different type of system (the “target”).

What is the point of cross-compilation?

This is useful in situations where the target system is not suitable for direct code compilation, such as embedded systems or systems with limited resources.

I noticed for example, that when I was trying to compile on my jetson, it was extremely slow.