RE: [arm-gnu] cannot execute cross compilers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] cannot execute cross compilers



Thanks Kishore, great comment. Turns out I am running a 64bit version of
Ubuntu and sure enough, the Code Sorcery notes mention the need for 32
bit libraries to be installed.  

Now, I'm off to figure out what libraries I need.


-----Original Message-----
From: Kishore [mailto:kitts.mailinglists@xxxxxxxxx] 
Sent: Monday, September 07, 2009 12:38 PM
To: arm-gnu@xxxxxxxxxxxxxxxx
Subject: Re: [arm-gnu] cannot execute cross compilers

On Monday 07 Sep 2009 11:29:09 pm Casey MacDonald (Contractor) wrote:
> I'm unable to execute the cross compilers on my Ubuntu Linux computer.

>  I've downloaded Sourcery G++ Lite 2008q1-126 for ARM GNU/Linux onto
my
>  Ubuntu computer and unzipped the tar file using the command line,
> 
> tar -xjvf
arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
> 
> when I execute the compiler in it's native directory using the command
> 
> ./arm-none-linux-gnueabi-gcc
> 
> I get the error,
> 
> bash: ./arm-none-linux-gnueabi-gcc: No such file or directory

Are you running 64 bit ubuntu? If yes then you might need the 32 bit
support 
libraries installed.

> I've included the compiler location in my $PATH and still have the
same
>  problem executing this elsewhere.
> 
> 
> Other Things I've Tried ...
> 
> I tried using the shell script, package.bin, only to get the same
result.
> I tried different versions including 2008q3
> 
> There's probably something simple that I'm missing.  For example does
it
>  matter where you extract the cross compilers?  I'm extracting them in
my
>  ~/bin directory.
> 
> Thanks for any help,
> Casey MacDonald
> 

-- 
Cheers!
Kishore