MziRintu / iphone-gcc-full

Automatically exported from code.google.com/p/iphone-gcc-full
0 stars 0 forks source link

How can I get gcc support -march=armv7 option? #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
iPhone:/Userroot# gcc -march=armv7 hello.c 
hello.c:1: error: bad value (armv7) for -march= switch

When I type "gcc -march=armv7 hello.c ", it will show error "bad value (armv7) 
for -march= switch".
It's OK if I use "gcc -march=armv6 hello.c" command.

So seems current gcc/g++ not support to compile to armv7 code.
Can any one help me?

Thank you very much.

Original issue reported on code.google.com by onlyboy...@gmail.com on 28 Apr 2013 at 2:37