MegaPirateNG / ardupilot-mpng

MegaPirateNG
GNU General Public License v3.0
117 stars 105 forks source link

Compile error (unrecognized command line option '-assembler-with-cpp') #192

Closed gergalyb closed 9 years ago

gergalyb commented 9 years ago

I strictly followed the instructions on this page: http://docs.megapirateng.com/documentation/compile But when I try to compile the code I get this error: avr-gcc: error: unrecognized command line option '-assembler-with-cpp'

I could narrow down this problem to that newer gcc uses this command instead: -x assembler-with-cpp

I was using 64bit win8.1. The compiling worked on OSX 10.9.5

gergalyb commented 9 years ago

Sorry, didn't realize there was already an issue exactly like this.