gcc: error: unrecognized command line option ‘-com

2019-07-17 15:26发布

问题:

I am trying to compile lode library from here. However when running make on the yajl.o source I end up with the error:

gcc: error: unrecognized command line option ‘-combine’

I am using 4.9.2 gcc on ubuntu 12.04. I also tried gcc 4.8.1 on different pc.

回答1:

I believe -combine was removed in GCC 4.6. However, there is a PR to fix this for lode here.