
11 Nov
2011
11 Nov
'11
3:42 a.m.
On Thursday 10 November 2011 21:01:37 Macpaul Lin wrote:
2011/11/11 Mike Frysinger:
so the ISA version only affects the generated libraries right ? i can still use any of the compilers to output any ISA version ?
Unfortunately, wrong.
ISA will affect the assembly and binary patterns, also some basic stack operation.
right, which is why gcc ports have options like -march=, -mcpu=, -mtune=, etc... this way you only need 1 gcc to support all these different ISAs.
nds32le-linux-gcc -march=v0 -c ...... nds32le-linux-gcc -march=v1 -c ...... nds32le-linux-gcc -march=v1f -c ......
what i meant was that you don't have to configure gcc for a specific ISA. -mike