Mips 32r2 big-endian toolchain
ANDY KENNEDY
ANDY.KENNEDY@adtran.com
Wed Mar 9 22:36:00 GMT 2011
> From: Khem Raj [mailto:raj.khem@gmail.com]
> On Wed, Mar 9, 2011 at 2:09 PM, ANDY KENNEDY <ANDY.KENNEDY@adtran.com> wrote:
> > So, xgcc thinks the target is ONLY little endian. What config option
> > is needed so that configure will send down the correct configure to
> > xgcc so that I can build Big Endian by default? Is this a question
> > I should cross post to the gcc developers or is this only an internal
> > issue with crosstool-NG?
> >
>
> can you post the configure commandline
I'm assuming you wanted the one in .build/mips*/build/build-cc-core-shared:
/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/src/gcc-4.5.2/configure --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu --target=mips-nfs_devel-linux-gnu --prefix=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/gcc-core-shared --with-local-prefix=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/mips-nfs_devel-linux-gnu/mips-nfs_devel-linux-gnu/sysroot --disable-multilib --disable-libmudflap --with-sysroot=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/mips-nfs_devel-linux-gnu/mips-nfs_devel-linux-gnu/sysroot --enable-shared --with-pkgversion=crosstool-NG-hg_default@2334_f4e5daf96796 --with-arch=mips32r2 --with-abi=32 --with-tune=mips32r2 --with-float=soft --enable-__cxa_atexit --with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -EB --with-gmp=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --with-mpfr=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --with-mpc=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --with-ppl=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --with-cloog=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --with-libelf=/root/src/buildroot-retool/crosstool-ng/new/crosstool-ng/.build/mips-nfs_devel-linux-gnu/build/static --enable-lto --enable-target-optspace --disable-nls --enable-symvers=gnu --enable-languages=c --enable-biendian --enable-targets=o32eb
Note: the last --enable-targets=o32eb I got from searching around in the
gcc-4.5.2 documentation. Likewise for --enable-biendian. These seem to
have no effect. I'm currently in a build with --enable-targets=o32.
Andy
More information about the crossgcc
mailing list