qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Himanshu Singh Chauhan" <chauhan.jpr@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Cannot launch application with qemu-mips
Date: Tue, 2 Dec 2008 16:47:35 +0530	[thread overview]
Message-ID: <5391e10b0812020317l4cafdae8p69bf1c82d89eb808@mail.gmail.com> (raw)
In-Reply-To: <761ea48b0812020222q54e19fdlc5fcae9cd8c0fc4f@mail.gmail.com>

On Tue, Dec 2, 2008 at 3:52 PM, Laurent Desnogues
<laurent.desnogues@gmail.com> wrote:
> On Tue, Dec 2, 2008 at 11:12 AM, Himanshu Singh Chauhan
> <chauhan.jpr@gmail.com> 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	other threads:[~2008-12-02 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 10:12 [Qemu-devel] Cannot launch application with qemu-mips Himanshu Singh Chauhan
2008-12-02 10:22 ` Laurent Desnogues
2008-12-02 11:17   ` Himanshu Singh Chauhan [this message]
2008-12-02 11:23     ` Himanshu Singh Chauhan
2008-12-02 11:38     ` Laurent Desnogues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5391e10b0812020317l4cafdae8p69bf1c82d89eb808@mail.gmail.com \
    --to=chauhan.jpr@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).