Find the answer to your Linux question:
Results 1 to 3 of 3
ello, i saw all the steps for compiling in the beagleboard website. i am getting some errors while doing that steps. now i have to boot from mmc card. for ...
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308

    Beagle board Bootloader compilation

    ello,

    i saw all the steps for compiling in the beagleboard website. i am getting some errors while doing that steps. now i have to boot from mmc card. for that i installed tollchain fpr ARM processor in my host computer. AFter installing that toolchain i gave "make" to compile "xloader". But found the following error

    "root@ariem-desktop:/home/xloader# make
    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/xloader/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv7-a -c -o cpu/omap3/start.o /home/xloader/cpu/omap3/start.S
    make: arm-none-linux-gnueabi-gcc: Command not found
    make: *** [cpu/omap3/start.o] Error 127
    root@ariem-desktop:/home/xloader# "

    i dont know what is wrong
    Thanks in advance...

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1
    'make' isn't finding your compiler in the path. One way to add it to your path would be like:
    Code:
    $ export PATH=$PATH:/opt/arm-2007q3/bin
    Be sure to use the correct path for where you installed the compiler.

  3. #3
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    yes i think you are right. i installed my compiler in /home/CodeSourcery/Sourcery_G++_Lite/bin

    So shall i export the path as
    Code:
    export PATH=$PATH:/home//CodeSourcery/Sourcery_G++_Lite/bin
    or
    Code:
    export ARM_TOOLCHAIN=/home/ariem/CodeSourcery/Sourcery_G++_Lite/bin/
    is it right? which is correct one?

    Then what will come for
    Code:
    export CROSS_COMPILE=
    why it is needed?
    Thanks in advance...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...