From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4228 invoked by alias); 22 Dec 2008 14:13:33 -0000 Received: (qmail 4218 invoked by uid 22791); 22 Dec 2008 14:13:32 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Dec 2008 14:12:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LElWT-00046O-LB for gcc-help@gcc.gnu.org; Mon, 22 Dec 2008 06:12:41 -0800 Message-ID: <21128496.post@talk.nabble.com> Date: Mon, 22 Dec 2008 14:18:00 -0000 From: kpremendra To: gcc-help@gcc.gnu.org Subject: uboot compiled with 4.3.2 and 3.4.4 compiler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg00237.txt.bz2 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.