From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 10 Nov 2011 21:42:56 -0500 Subject: [U-Boot] nds32: toolchains for building ? In-Reply-To: References: <201111031358.54366.vapier@gentoo.org> <201111101212.47902.vapier@gentoo.org> Message-ID: <201111102142.57775.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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