public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* ARM tollchain support
@ 2009-12-15 12:51 Niamathullah sharief
  2009-12-15 12:57 ` Shilimkar, Santosh
  0 siblings, 1 reply; 4+ messages in thread
From: Niamathullah sharief @ 2009-12-15 12:51 UTC (permalink / raw)
  To: linux-omap

Hello,
    I am trying to install ARM tollchain in my GCC. But i am not
getting to install correctly. When i try to compile an u boot image i
am getting the following errors in last few lines ..


make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/tools'
make -C examples all
make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
Permission denied
make[1]: Entering directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
/bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
dirname: missing operand
Try `dirname --help' for more information.
/home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc  -Os
-fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float
-D__KERNEL__ -DTEXT_BASE=0x97800000
-I/home/ariem/Desktop/u-boot-200901-lange51/include -fno-builtin
-ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__
-Wall -Wstrict-prototypes  -c -o hello_world.o hello_world.c
make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
Permission denied
make[1]: *** [hello_world.o] Error 127
make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
make: *** [examples] Error 2
ariem@ariem-desktop:~/Desktop/u-boot-200901-lange51$


what will be the error. can anyone tell me. i think the path exported
is wrong. please help me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ARM tollchain support
  2009-12-15 12:51 ARM tollchain support Niamathullah sharief
@ 2009-12-15 12:57 ` Shilimkar, Santosh
  2009-12-15 13:09   ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Shilimkar, Santosh @ 2009-12-15 12:57 UTC (permalink / raw)
  To: Niamathullah sharief, linux-omap@vger.kernel.org

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of
> Niamathullah sharief
> Sent: Tuesday, December 15, 2009 6:22 PM
> To: linux-omap@vger.kernel.org
> Subject: ARM tollchain support
> 
> Hello,
>     I am trying to install ARM tollchain in my GCC. But i am not
> getting to install correctly. When i try to compile an u boot image i
> am getting the following errors in last few lines ..
> 
> 
> make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/tools'
> make -C examples all
> make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
> Permission denied
> make[1]: Entering directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
> /bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
> dirname: missing operand
> Try `dirname --help' for more information.
> /bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
> dirname: missing operand
> Try `dirname --help' for more information.
> /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc  -Os
> -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float
> -D__KERNEL__ -DTEXT_BASE=0x97800000
> -I/home/ariem/Desktop/u-boot-200901-lange51/include -fno-builtin
> -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__
> -Wall -Wstrict-prototypes  -c -o hello_world.o hello_world.c
> make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
> Permission denied
> make[1]: *** [hello_world.o] Error 127
> make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
> make: *** [examples] Error 2
> ariem@ariem-desktop:~/Desktop/u-boot-200901-lange51$
> 
> 
> what will be the error. can anyone tell me. i think the path exported
> is wrong. please help me
How are you exporting the path ? Can you copy paste that here

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARM tollchain support
  2009-12-15 12:57 ` Shilimkar, Santosh
@ 2009-12-15 13:09   ` Gary Thomas
  2009-12-16  4:27     ` Niamathullah sharief
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2009-12-15 13:09 UTC (permalink / raw)
  To: Shilimkar, Santosh; +Cc: Niamathullah sharief, linux-omap@vger.kernel.org

On 12/15/2009 05:57 AM, Shilimkar, Santosh wrote:
>> -----Original Message-----
>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of
>> Niamathullah sharief
>> Sent: Tuesday, December 15, 2009 6:22 PM
>> To: linux-omap@vger.kernel.org
>> Subject: ARM tollchain support
>>
>> Hello,
>>      I am trying to install ARM tollchain in my GCC. But i am not
>> getting to install correctly. When i try to compile an u boot image i
>> am getting the following errors in last few lines ..
>>
>>
>> make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/tools'
>> make -C examples all
>> make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
>> Permission denied
>> make[1]: Entering directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
>> /bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
>> dirname: missing operand
>> Try `dirname --help' for more information.
>> /bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
>> dirname: missing operand
>> Try `dirname --help' for more information.
>> /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc  -Os
>> -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float
>> -D__KERNEL__ -DTEXT_BASE=0x97800000
>> -I/home/ariem/Desktop/u-boot-200901-lange51/include -fno-builtin
>> -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__
>> -Wall -Wstrict-prototypes  -c -o hello_world.o hello_world.c
>> make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc:
>> Permission denied
>> make[1]: *** [hello_world.o] Error 127
>> make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
>> make: *** [examples] Error 2
>> ariem@ariem-desktop:~/Desktop/u-boot-200901-lange51$
>>
>>
>> what will be the error. can anyone tell me. i think the path exported
>> is wrong. please help me
> How are you exporting the path ? Can you copy paste that here

That's not the problem - the tools have not been installed properly.

It looks to me like Niamathullah sharief (I never know which name
is prominent) is trying to use tools installed by another user
(ariem).  I assume that 'sharief' does not have access to 'ariem's
home directory, thus this fails.

Get the tools installed into a common directory and this should start
working.


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARM tollchain support
  2009-12-15 13:09   ` Gary Thomas
@ 2009-12-16  4:27     ` Niamathullah sharief
  0 siblings, 0 replies; 4+ messages in thread
From: Niamathullah sharief @ 2009-12-16  4:27 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Shilimkar, Santosh, linux-omap@vger.kernel.org

no i used this sudo name instead of my name. I am ariem here. so i
have all access.

I think there might be a PATH error
i installed my compiler in /home/CodeSourcery/Sourcery_G++_Lite/bin

So shall i export the path as

export PATH=$PATH:/home//CodeSourcery/Sourcery_G++_Lite/bin

or

export ARM_TOOLCHAIN=/home/ariem/CodeSourcery/Sourcery_G++_Lite/bin/

is it right? which is correct one?

Then what will come for

export CROSS_COMPILE=

why it is needed?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-16  4:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 12:51 ARM tollchain support Niamathullah sharief
2009-12-15 12:57 ` Shilimkar, Santosh
2009-12-15 13:09   ` Gary Thomas
2009-12-16  4:27     ` Niamathullah sharief

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox