This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to set up a 32-bit toolchain on a 64-bit distro?


On Tue, 2008-11-25 at 06:45 -0500, Robert P. J. Day wrote:
> probably slightly off-topic but i figure, if anyone's going to know
> this, it's toolchain people.
> 
>   i've downloaded a freescale coldfire toolchain from codesourcery and
> it installs and runs just fine on the 32-bit version of fedora 10
> preview on one of my 64-bit AMD-CPU laptops.  i really wanted to
> install it on the 64-bit version of that OS but, when i do and try to
> cross-compile "hello, world", the link step fails looking for
> /lib/ld-linux.so.2.
> 
>   not surprisingly, that linker doesn't exist on the x86_64 distro --
> what does exist is under /lib64.  what would be the obvious solution?
> can i just install the 32-bit version of glibc on the 64-bit version
> of the OS?
Exactly this is the solution, or at least one key part of it (It could
be necessary to install further libraries).

>   i'm reluctant to just try it until someone can give me an
> opinion one way or the other.  thanks.

Ralf



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]