http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58869
Bug ID: 58869 Summary: switch -mcu=cortex-a7 conflicts with -march=armv7-a switch Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wwfiney at hotmail dot com When I compile code for cortex-a7, gcc reported a warning: cc1: warning: switch -mcu=cortex-a7 conflicts with -march=armv7-a switch [enabled by default] But cortex-a7 IS armv7-a architecture. So how can I set this switch?