让GNU使用不同的编译器 [英] Make GNU make use a different compiler
本文介绍了让GNU使用不同的编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能让GNU客人可以使用不同的编译器无需手动编辑生成文件?
How can I make GNU Make use a different compiler without manually editing the makefile?
推荐答案
您应该能够做这样的事:
You should be able to do something like this:
make CC=my_compiler
这是假设谁写Makefile中的变量CC。
This is assuming whoever wrote the Makefile used the variable CC.
这篇关于让GNU使用不同的编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文