Ping^2 Thanks, bin
On Mon, May 12, 2014 at 11:17 AM, Bin.Cheng <amker.ch...@gmail.com> wrote: > Ping. > > Thanks, > bin > > On Tue, May 6, 2014 at 12:59 PM, bin.cheng <bin.ch...@arm.com> wrote: >> >> >> Precisely, I configured gcc with options "--with-arch=armv7-a >> --with-cpu|--with-tune=cortex-a9". >> I read gcc documents and realized that "-mcpu" is ignored when "-march" is >> specified. I don't know why gcc acts in this manner, but it leads to >> inconsistent configuration/command line behavior. >> If we configure GCC with "--with-arch=armv7-a --with-cpu=cortex-a9", then >> only "-march=armv7-a" is passed to cc1. >> If we compile with "-march=armv7-a -mcpu=cortex-a9", then gcc works fine and >> passes "-march=armv7-a -mcpu=cortex-a9" to cc1. >> >> Even more weird cc1 warns that "switch -mcpu=cortex-m4 conflicts with >> -march=armv7-m switch". >> >> Thanks, >> bin >> >> >> >> > > > > -- > Best Regards. -- Best Regards.