qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PPC emulation, how?


From: Martin
Subject: Re: [Qemu-devel] PPC emulation, how?
Date: Mon, 19 Apr 2004 20:12:30 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030823


Is your host your PREP machine ?
If so, it may be (one more) endianness related bug. I will check on a
mac, one of these days...

No, My host is an x86 machine (AMD duron 800) running a linux 2.6 kernel. This also might cause problems related to the 1000 Hz kernel ticks in 2.6 in stead of 100Hz kernel ticks in 2.4. I haven't tried to run my prep machine as a host yet. It is not that fast a machine (200 Mhz 604e)

A little offtopic maybe. Do you know how I can findout fast which libraries are needed for a certain executable. I tried to make a small diskimage with the basic command from my real prep machine and tried to guess which libraries I needed (but guesses wrong ofcourse). I copied /bin /sbin /etc /lib and a subset of /usr/bin and /usr/lib. /usr/lib is very large and I know I only need some of the libs for the commands I copied in /usr/bin but not which ones.

Well, it seems that ldd or just /lib/ld.so.1 are the tool you need to
use:
/lib/ld.so.1 --list /bin/ls
       libpthread.so.0 => /lib/libpthread.so.0 (0x0ff8f000)
       librt.so.1 => /lib/librt.so.1 (0x0ff5d000)
       libc.so.6 => /lib/libc.so.6 (0x0fe03000)
       /lib/ld.so.1 => /lib/ld.so.1 (0x08000000)
Thanks,  this is what I needed,

Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]