qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Cannot launch application with qemu-mips


From: Himanshu Singh Chauhan
Subject: Re: [Qemu-devel] Cannot launch application with qemu-mips
Date: Tue, 2 Dec 2008 16:47:35 +0530

On Tue, Dec 2, 2008 at 3:52 PM, Laurent Desnogues
<address@hidden> wrote:
> On Tue, Dec 2, 2008 at 11:12 AM, Himanshu Singh Chauhan
> <address@hidden> wrote:
>> Hi,
>>
>> I downloaded MIPS toolchain from Denx website. I compiled a hello
>> world application with the tool chain. When I run this application
>> with qemu-mips, it gives me /lib/ld.so.1: no such file or directory
>> error. I ran this command: qemu-mips -L ./opt/eldk ./test -cpu 4Kc
>>
>> The ld.so.1 is actually located in ./opt/eldk/mips_4Kc/lib. When I
>> hexdump'ed the application, it is referring to /lib/ld.so.1.
>>
>> Is this an issue with the toolchain? How do I run this. I want to
>> learn MIPS assembly, I had been using SPIM for now. But I want to get
>> into real syntax of GNU as. So I was trying this.
>
> you should try with -L ./opt/eldk/mips_4Kc.
>
I tried running with this. But qemu terminates with error:
qemu: uncaught target signal 4 (Illegal Instruction) - exiting

--Himanshu




reply via email to

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