Please take a look at:
https://github.com/gorgone/s3_releases
This seems to have borrowed a lot from the cross-build stuff from :
https://github.com/Freetz/freetz
The s3 contains good examples for different Hardware.
<!-- github-comment-id:717628809 -->
CMake supports cross-compilation, that's not a problem (though I'd need to test it with ZNC). The question here is how znc-buildmod specifically should work with it.
Should it use cmake from build system and pass correct sysroot to it, by using the toolchain file? How should it detect whether it's running from build system or from the target already? Maybe by accepting special command line args?
CMake [supports cross-compilation](https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling), that's not a problem (though I'd need to test it with ZNC). The question here is how `znc-buildmod` specifically should work with it.
Should it use cmake from build system and pass correct sysroot to it, by using the toolchain file? How should it detect whether it's running from build system or from the target already? Maybe by accepting special command line args?
<!-- github-comment-id:717813093 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
How it should work?
Please take a look at:
https://github.com/gorgone/s3_releases
This seems to have borrowed a lot from the cross-build stuff from :
https://github.com/Freetz/freetz
The s3 contains good examples for different Hardware.
Can you explain how it's relevant?
Thought that this Issue is about compiling znc+mods for different Hardware/OS.
CMake supports cross-compilation, that's not a problem (though I'd need to test it with ZNC). The question here is how
znc-buildmodspecifically should work with it.Should it use cmake from build system and pass correct sysroot to it, by using the toolchain file? How should it detect whether it's running from build system or from the target already? Maybe by accepting special command line args?