This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Mips 32r2 big-endian toolchain


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]