Cmake cross compiles on Ubuntu

Socializing makes me unhappy,
code makes me happy.
I adjusted the program all day today, mainly because of two problems:
1. When compiling the cjson file, the dependency library Math was missing, and it kept prompting an error, but it didn't tell me which library was missing, so I had to search for it myself.
2. When compiling tcp, it prompts that the plug file is missing, and the library file cannot be generated. After searching for a long time, I found out that AR=arm-linux-gcc-ar should be changed to AR=arm-linux-ar, which is normal.

Guess you like

Origin blog.csdn.net/u013209189/article/details/128690150