Closed sourya-sen closed 6 years ago
@sourya-sen I found the cross compiling guide very confusing, both in the way it is ordered (introducing a bunch of variables, and only afterwards explain where to use them) and in the actual steps. For example, it mentions you need a Target Root File System, but it doesn't explain how to set it up.
Using this guide, combined with other resources I found online, I was not able to get my cross compiling to work on Debian. I think I had everything set up correctly, but the final command (make TOOLCHAIN_ROOT=/path/to/toolchain GCC_PREFIX=arm-linux-gnueabihf RPI_ROOT=/path/to/local_copy_of_pi_filesystem
) seemed to ignore all the variables and did the same thing make
by itself would do. So I would appreciate an update.
@javl I've actually never gotten the cross compiler to work as well, maybe it should be updated by someone who has the relevant + updated info about it. In the mean time, the 0.10.0 + Stretch guide should be up to date though, @arturoc any chance for a review?
thanks!
Not sure if the cross compiling guide is still relevant/up-to-date or not, should that be removed from the getting started guide?