This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

x-loader compilation

Hi Everyone,

                       I'm using DevKit8000, I want to compile x-loader but it is not compiling I have followed the procedure everything which is explained below,

make distclean

make ARCH=arm omap3devkit8000_config (Here it is configuring correctly)

make ARCH=arm    I'm getting an error as,

arm-none-linux-gnueabi-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8  -D__KERNEL__ -DTEXT_BASE=0x40200800 -I/home/gurucharan/x-load-1.41/include -fno-builtin -ffreestanding -nostdinc -isystem /home/gurucharan/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv7a -mabi=apcs-gnu -c -o cpu/omap3/start.o /home/gurucharan/x-load-1.41/cpu/omap3/start.S
/home/gurucharan/x-load-1.41/cpu/omap3/start.S:1: error: bad value (armv7a) for -march= switch
make: *** [cpu/omap3/start.o] Error 1


I have searched the code everything is fine can anyone guide me in this issue and kindly do the needful


Thanks and Regards,

Guru Charan

  • Hi Guru,

    Could you give more information about the release which you are using and give a link to it. It is important to know and version of the arm-none-linux-gnueabi cross-compiler. Without this information I only could guess about the reason for the error: If the cross-compiler is old version but the x-loader is newer is possible to appear some errors.

    You can try to add to each make command the following option: make ...... CROSS_COMPILE=<your cross-compiler>

    BR

    Tsvetolin Shulev

  • Hi sir,

              I'm using,

                                x-load-1.41

                               GNU Compiler Collection - 4.4.1

                               GNU Binary Utilities - 2.19.51

                               Sourcery G++ Debug Sprite for ARM - 2010q1-202

                               GNU Debugger - 7.0.50

    But the same compiler is working for u-boot, I'm using u-boot-2009.11.1

    Thanks and Regards,

    Guru Charan