linux-mips
[Top] [All Lists]

Re: compile problem with kernel

To: Oliver Frommel <oliver@aec.at>
Subject: Re: compile problem with kernel
From: ralf@uni-koblenz.de
Date: Tue, 31 Mar 1998 17:33:03 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <Pine.LNX.3.96.980331165553.17524C-100000@web.aec.at>; from Oliver Frommel on Tue, Mar 31, 1998 at 04:57:52PM +0200
References: <19980331165502.28021@uni-koblenz.de> <Pine.LNX.3.96.980331165553.17524C-100000@web.aec.at>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, Mar 31, 1998 at 04:57:52PM +0200, Oliver Frommel wrote:

> > > ./configure --prefix=/tmp/binutils-xcompile-root/usr/local 
> > > --program-prefix=mips
> > > -linux- --enable-shared --target=mips-linux
> > 
> > You loose.  You install software in /tmp???
> >
> 
> yeah. i lose - i use RPM :-)
> seriuosly, i've installed it in /tmp/binutils-xcompile-root and packaged the 
> RPM
> from there, then installed the RPM whose -qpl looks like this:

That strategy fails for alot of GNU autoconf'ed software.  Better do it
like:

  ./configure --prefix=/usr/local
  make ...
  make prefix=/tmp/binutils-xcompile-root/usr/local install

Otherwise you might end up with an embedded /tmp/binutils... path in
some files.  This for example happens when building GCC.

  Ralf

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