[U-Boot] nds32: toolchains for building ?

Mike Frysinger vapier at gentoo.org
Fri Nov 11 03:42:56 CET 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/c96126ab/attachment.pgp 


More information about the U-Boot mailing list