From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15020 invoked by alias); 26 Feb 2007 19:42:17 -0000 Received: (qmail 15009 invoked by uid 22791); 26 Feb 2007 19:42:17 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Feb 2007 19:42:11 +0000 Received: by wx-out-0506.google.com with SMTP id t13so1409805wxc for ; Mon, 26 Feb 2007 11:42:10 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZbbQNiMXCpAGM1OFkFsaOQ4zC/M2g1Cx7RO++MoiO5A/t8nmJFMGSED8QU3TfenUw1+rwxASr4RKZaCHWoKV2Fy82j/HkZQ6ZFHZ9AM2/I3r0IjGOhygIkTlkBE7YmOmhVYn44LVbaJ2b7JYQpgGN4qj0eV55+lqFyU830iLiHk= Received: by 10.90.103.2 with SMTP id a2mr5261150agc.1172518930128; Mon, 26 Feb 2007 11:42:10 -0800 (PST) Received: by 10.90.66.11 with HTTP; Mon, 26 Feb 2007 11:42:10 -0800 (PST) Message-ID: <81c474d20702261142y41b06310pef2c2aa81ef4f87e@mail.gmail.com> Date: Mon, 26 Feb 2007 19:42:00 -0000 From: "Michael Ambrus" To: "Frank Ch. Eigler" Subject: Re: Building SID Cc: sid@sourceware.org In-Reply-To: <20070226185359.GC19131@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81c474d20702251137j3e65f89aidf58a2e4cf019252@mail.gmail.com> <20070226002136.GA19131@redhat.com> <81c474d20702251644n352ea169kdf6f9ffcbc591fb7@mail.gmail.com> <20070226185359.GC19131@redhat.com> X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00032.txt.bz2 > OK, you should be able to use --target=i386-elf and not bother with > all the other targets. > I'm not sure that I can, but I'll try. The reason is related to why sid is an interesting project to me. What I was using the first time was a cross compiler that, even though build,host and target main architectures are the same, targets a different "system". I had some more thinking yesterday and It's actually quite strange that sid started at all since that compiler is seriously patched. The syscalls and crt0.o among others are replaced (I'm working on an embedded file system to be used in conjunction with newlib). This is the reason I can't use gdb-type of simulators and also why I can't use native tools either. The code is not architecture dependant, but since it's just below the syscalls level, I've had to run and debug on a real target so far. This is becoming increasingly slow and I'm looking for something faster. I've tried QEMU which works, but it's unfortunately even slower than the real target. Does sid rely on the code being debugged to interact with the simulator using normal file streams or is every OP-code executed in a virtual machine? /Michael