From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15676 invoked by alias); 26 Feb 2007 00:45:00 -0000 Received: (qmail 15667 invoked by uid 22791); 26 Feb 2007 00:44:59 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Feb 2007 00:44:55 +0000 Received: by wx-out-0506.google.com with SMTP id t13so1150483wxc for ; Sun, 25 Feb 2007 16:44:54 -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=racOhWKfHhFZUI91cU/LDRJxPtkqAwmnT+XIPeTR7HWOKSQA2Dm7YVaNqD491VFjc6wGCmGQerUMVr9fLc7P9LDtcw6dKGAQsLxqeLqAyeDMmULEdcNbFFnAFqEMVnM9cKEnNaOcsI+6LJrogLWZTn0B9ZA571ETjE7jVBynwAU= Received: by 10.90.95.11 with SMTP id s11mr4267153agb.1172450694115; Sun, 25 Feb 2007 16:44:54 -0800 (PST) Received: by 10.90.66.11 with HTTP; Sun, 25 Feb 2007 16:44:54 -0800 (PST) Message-ID: <81c474d20702251644n352ea169kdf6f9ffcbc591fb7@mail.gmail.com> Date: Mon, 26 Feb 2007 00:45:00 -0000 From: "Michael Ambrus" To: "Frank Ch. Eigler" Subject: Re: Building SID Cc: sid@sourceware.org In-Reply-To: <20070226002136.GA19131@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> 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/msg00026.txt.bz2 On 2/26/07, Frank Ch. Eigler wrote: > Hi - > > On Sun, Feb 25, 2007 at 08:37:41PM +0100, Michael Ambrus wrote: > > I'm new to sid and I'm having some problems building the project from > > CVS sources. > > Welcome! Thanx :) > > > My first attempt was with a cross-compiler which worked. except that > > the I couldn't get the simulation to work properly (when setting CPU > > registers in the simulated code and then queried the same with GDB, > > the registers would still have the value 0). > > Are you sure you had gdb connected properly (target remote ...) and > all? Which target? Pretty much. The target tried was i386-hixs-elf (hixs is a layer that replaces the syscalls with "hooked" versions - i.e. function pointers). I haven't worked with x86 for years, so it might be me forgetting something (protected mode stuff?). I just swapped the target from an existing PowerPC set-up because I'm currently in an area not strictly architecture dependant and I needed something faster than the remote GDB box I'm currently using. > > I thought if not setting --target, it would make it work better. > > Actually, that should not improve this situation. yes, I figured that too. > > > The documentation says that if --target is not set, sid will try to > > build all the available CPU's. > > That's correct. > > > What I'm not clear about is if one needs a cross compilers or not, and > > in the case one does - would that be for every possible CPU sid > > supports? > > No, we don't run cross-compilers during a sid build. Only in order to > build programs that run on the various cpu models would one need them. > Cool. > > [...] > > A list of supported main architectures would be helpful. > > See the sid/components/CATALOG file. > OK, thanx. > > Hers comes the lines where the build breaks: > > make[4]: *** No rule to make target `sh64-elf-sid', needed by `all-am'. > > The ChangeLog mentions 'sh-elf-sid,sh5-elf-sid,sh64-elf-sid: New > > files' so I'm guessing the files were just not committed yet. > > That's probably right, it must be an oversight. > > - FChE > > /Michael