Cross compilation for nano

How to cross compile deepstream based application - say deepstream reference app- for nano on intel x86-64 processors. What toolchain should I use and what are the steps to be followed ?

Deepstream requires lots of dependencies which make it not easy to be cross-compiled on the host.
It’s recommended to choose remote compile and debug to avoid these issues.