gcc 4.9.1 in OS X Yosemite - gcc: warning: couldn’t understand kern.osversion ‘14.0.0'
I install OS X Yosemite and now i have a huge problem with gcc 4.9.1 compiler. I hope some one can help me please. I try to compile my program and i have the warning message: gcc: warning: couldn’t understand kern.osversion ‘14.0.0' I search on google and i find https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407 I try to apply the patch doing: sudo patch -p1 < /usr/local/bin/00-darwin-10.10.patch in gcc folder: /usr/local/bin/gcc and i received the message: can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: ---------------