From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7TG7-0000B6-64 for qemu-devel@nongnu.org; Tue, 02 Dec 2008 06:17:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7TG5-0000AI-5u for qemu-devel@nongnu.org; Tue, 02 Dec 2008 06:17:38 -0500 Received: from [199.232.76.173] (port=50656 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7TG4-0000A3-Vr for qemu-devel@nongnu.org; Tue, 02 Dec 2008 06:17:37 -0500 Received: from wa-out-1112.google.com ([209.85.146.183]:25044) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7TG4-0000YG-Mg for qemu-devel@nongnu.org; Tue, 02 Dec 2008 06:17:36 -0500 Received: by wa-out-1112.google.com with SMTP id j5so1462719wah.18 for ; Tue, 02 Dec 2008 03:17:35 -0800 (PST) Message-ID: <5391e10b0812020317l4cafdae8p69bf1c82d89eb808@mail.gmail.com> Date: Tue, 2 Dec 2008 16:47:35 +0530 From: "Himanshu Singh Chauhan" Subject: Re: [Qemu-devel] Cannot launch application with qemu-mips In-Reply-To: <761ea48b0812020222q54e19fdlc5fcae9cd8c0fc4f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5391e10b0812020212j3e55fbdfk5b34e948e810622b@mail.gmail.com> <761ea48b0812020222q54e19fdlc5fcae9cd8c0fc4f@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, Dec 2, 2008 at 3:52 PM, Laurent Desnogues wrote: > On Tue, Dec 2, 2008 at 11:12 AM, Himanshu Singh Chauhan > 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