public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* uboot compiled with 4.3.2 and 3.4.4 compiler
@ 2008-12-22 14:18 kpremendra
  0 siblings, 0 replies; only message in thread
From: kpremendra @ 2008-12-22 14:18 UTC (permalink / raw)
  To: gcc-help


Hi 
  I have compiled the u-boot for at91sam9260 board, using the gcc compiler
4.3.2 , with the below config
 
Target: arm-unknown-linux-gnu
Configured with:
/home/developer/crosstool-ng-1.3.1/targets/src/gcc-4.3.2/configure
--build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu
--target=arm-unknown-linux-gnu --prefix=/opt/x-tools/arm-unknown-linux-gnu
--with-sysroot=/opt/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu/sys-root
--enable-languages=c,c++,fortran,java --disable-multilib --with-float=soft
--with-gmp=/opt/x-tools/arm-unknown-linux-gnu
--with-mpfr=/opt/x-tools/arm-unknown-linux-gnu
--with-pkgversion=crosstool-NG-1.3.1 --enable-__cxa_atexit
--with-local-prefix=/opt/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.3.2 (crosstool-NG-1.3.1)

.

The board comes , with this u-boot , but most of the commands in the u-boot
leads the board to a hang.
the extra flags used for the compilation of the u-boot uisng 4.3.2 gcc are
as below 
PLATFORM_CPPFLAGS += -mtune=arm926ej-s -march=armv5te 


when the u-boot is compiled with another gcc 3.4.4 config as below 

Configured with:
/home/tsewell/crosstool-0.38/build/arm-linux/gcc-3.4.4-glibc-2.3.5/gcc-3.4.4/configure
--target=arm-linux --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux --with-float=soft
--with-headers=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux/arm-linux/include
--with-local-prefix=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux/arm-linux
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99
--enable-long-long
Thread model: posix
gcc version 3.4.4


every thing works in u-boot.
the extra flags used for the compilation of the u-boot  using 3.4.4 gcc are 
PLATFORM_CPPFLAGS += -mapcs-32 -march=armv5te -mtune=arm926ejs


 
IS   There some extra flags need to be given for  the 4.3.2 compiler to make
the code.
 


Thanks 

Virupax 



-- 
View this message in context: http://www.nabble.com/uboot-compiled-with-4.3.2-and-3.4.4-compiler-tp21128496p21128496.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-22 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-22 14:18 uboot compiled with 4.3.2 and 3.4.4 compiler kpremendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).