[fedora-arm] Cross compiling setup

Andrew Haley aph at redhat.com
Tue Jun 3 17:47:12 UTC 2008


Jeff Picciotti wrote:
> Thanks for the quick reply, but sorry to say I am not sure exactly what
> that means.  I did a man on it and as it turns out my old build machine
> has that command but the new machine does not.  Just thought I would
> note that...

If /usr/bin/rpm2cpio is missing you haven't correctly installed rpm, and
I have no idea how that can possibly have happened.

> Is what you are saying, that you take the target rootfs and put it at
> sysroot?

Exactly.  That's how sysroot is supposed to work.

Andrew.

> Andrew Haley wrote:
>> Jeff Picciotti wrote:
>>  
>>> Hello, having a little trouble remembering what I did in the past and
>>> thought someone out there might have a suggestion.
>>>
>>> A little background...  My small company has developed an arm board in
>>> house and we have already setup up a couple of rootfs, one for runtime,
>>> one for debugging and we also setup a cross compiling machine which is a
>>> fedora 8 box.
>>> We decided we were going to move our cross compiling machine to another
>>> server and start fresh and I am having trouble linking the libraries I
>>> need (the libraries do not exist in my new toolchain, where they do
>>> exist on the old machine).  I was obviously successful before but I
>>> can't seem to find my notes.
>>> I am having trouble remembering if I did anything special to manually
>>> install the following libraries in /usr/armv5tel-red.../sys-root/lib
>>> and /usr/armv5tel-red.../sys-root/usr/lib
>>> libglibc-2.0
>>> libgssapi_krb5
>>> libk5crypto
>>> libssl
>>> libkeyutils
>>> some others to. I have this feeling I used some rpm tool to do this but
>>> maybe not. Should these libraries be there by default or can I install
>>> the rpms for them from the arm repository or how s the correct way to do
>>> this? Did I copy these files from a rootfs?
>>> I have tried to install to the new toolchain using rpm but I get "cannot
>>> relocated this rpm".
>>>     
>>
>> I always use rpm2cpio | cpio -i from the top of the sysroot.
>>
>> Andrew.
>>
>>
>>   
> 




More information about the arm mailing list