How to compile redis with own compile chain, thanks

Comment From: sundb

Can you give more infomation about your question? Not sure https://github.com/redis/redis#building-redis is what you want.

Comment From: anzunming

I compile redis under the linux system, and use a specified compilation chain to compile redis, so that the compiled redis can run on a small linux system. The compilation of redis uses gcc (CC), if I replace gcc (CC) with aarch64-rockchip-linux-gnu-gcc; aarch64-rockchip-linux-gnu-gcc is a compilation chain.

Comment From: anzunming

How to modify the Makefile when compiling with the specified compilation chain

Comment From: sundb

You can try CC={your compile chain} make.