2014-03-24 14:52 GMT+08:00 Rainer Orth <r...@cebitec.uni-bielefeld.de>: > Chung-Ju Wu <jasonw...@gmail.com> writes: > >> +@anchor{nds32x-x-elf} >> +@heading nds32*-*-elf >> +Andes NDS32 target. >> + >> +Use @samp{configure --target=nds32le-elf --enable-languages=c,c++} to >> configure >> +GCC@ for building a nds32 elf cross-compiler in little endian mode. >> + >> +Use @samp{configure --target=nds32be-elf --enable-languages=c,c++} to >> configure >> +GCC@ for building a nds32 elf cross-compiler in big endian mode. > > I'd rather not list the full configure lines, but just describe the two > possible targets. >
Thanks for the comment. The revised patch and ChangeLog are as below. Is it OK for the trunk ? Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 208786) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,11 @@ +2014-03-24 Chung-Ju Wu <jasonw...@gmail.com> + + * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf. + 2014-03-24 Rainer Orth <r...@cebitec.uni-bielefeld.de> * Makefile.in (s-macro_list): Depend on cc1. Index: gcc/doc/install.texi =================================================================== --- gcc/doc/install.texi (revision 208786) +++ gcc/doc/install.texi (working copy) @@ -3144,6 +3144,10 @@ @item @uref{#mips-sgi-irix6,,mips-sgi-irix6} @item +@uref{#nds32le-x-elf,,nds32le-*-elf} +@item +@uref{#nds32be-x-elf,,nds32be-*-elf} +@item @uref{#powerpc-x-x,,powerpc*-*-*} @item @uref{#powerpc-x-darwin,,powerpc-*-darwin*} @@ -4100,6 +4104,20 @@ @html <hr /> @end html +@anchor{nds32le-x-elf} +@heading nds32le-*-elf +Andes NDS32 target in little endian mode. + +@html +<hr /> +@end html +@anchor{nds32be-x-elf} +@heading nds32be-*-elf +Andes NDS32 target in big endian mode. + +@html +<hr /> +@end html @anchor{powerpc-x-x} @heading powerpc-*-* You can specify a default version for the @option{-mcpu=@var{cpu_type}} Best regards, jasonwucj