linux-mips
[Top] [All Lists]

Re: Dumb Question on Cross-Development

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: Dumb Question on Cross-Development
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 5 Apr 2001 18:50:27 +0200 (MET DST)
Cc: Ralf Baechle <ralf@oss.sgi.com>, Florian Lohoff <flo@rfc822.org>, "Kevin D. Kissell" <kevink@mips.com>, "MIPS/Linux List (SGI)" <linux-mips@oss.sgi.com>
In-reply-to: <3ACC82C9.7612DCDE@mips.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Thu, 5 Apr 2001, Carsten Langgaard wrote:

> I tried the following:
> rpm -ba --rcfile .rpmrc-mipsel SPECS/mipsel-linux-binutils-2.10.91-2.spec
> 
> but it fails with
> Architecture is excluded: mipsel

 All packages which names start with <cpu>-<os> are cross-development
packages.  Mipsel-linux-binutils is a package providing binutils targeted
to mipsel.  You cannot build the package for the mipsel-linux host (which
the .rpmrc-mipsel configuration file sets up) as this wouldn't be a
cross-development package.  For this package to build just run: 

$ rpm -ba SPECS/mipsel-linux-binutils-2.10.91-2.spec

 You can only change the host system with .rpmrc-* files.  The target
system is hardcoded in cross-development packages and the build system is
implied.

 I hope this helps.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>