cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Wrong gcc version check while cross compiling

Open wenhaoy opened this issue 8 years ago • 3 comments

Makefile use const string "gcc -dumpversion" to check gcc version. It should be like "$(CC) -dumpversion"

wenhaoy avatar Apr 28 '18 07:04 wenhaoy

This is now fixed on the master branch.

Although I would recommend using CMake instead of the makefile. (I haven't tried cross compiling with CMake either though).

FSMaxB avatar Apr 29 '18 07:04 FSMaxB

FYI, cJSON is continuously cross-compiled (using CMake) for various architectures as part of Buildroot's testing infrastructure. You can view failures at http://autobuild.buildroot.net/?reason=cjson-v% - empty because there have been no failures in the last 8 months.

arnout avatar May 02 '18 19:05 arnout

Thats good to hear 🙂

FSMaxB avatar May 02 '18 20:05 FSMaxB