All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross compile bug?
@ 2006-06-06 20:46 Lee Revell
  2006-06-06 21:41 ` Lee Revell
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2006-06-06 20:46 UTC (permalink / raw)
  To: alsa-devel

I'm on an x86 machine trying to cross compile alsa-lib for PPC440 and it
insists on installing to /usr/lib.

My build script looks like:

echo " Building and installing alsa-lib (~1min)"
cd packages/alsa-lib-1.0.11
CC="$CROSS_COMPILE"gcc ./configure --host=ppc-linux
make -s
make -s prefix=$1/usr/local install 
        ^^^^^^^^^^^^^^^^^^^
make -s distclean

However, libasound is installed to /usr/lib.

Why is prefix being ignored?  What is the correct way to cross compile
alsa-lib?

Lee

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cross compile bug?
  2006-06-06 20:46 Cross compile bug? Lee Revell
@ 2006-06-06 21:41 ` Lee Revell
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2006-06-06 21:41 UTC (permalink / raw)
  To: alsa-devel

On Tue, 2006-06-06 at 16:46 -0400, Lee Revell wrote:
> I'm on an x86 machine trying to cross compile alsa-lib for PPC440 and it
> insists on installing to /usr/lib.
> 
> My build script looks like:
> 
> echo " Building and installing alsa-lib (~1min)"
> cd packages/alsa-lib-1.0.11
> CC="$CROSS_COMPILE"gcc ./configure --host=ppc-linux
> make -s
> make -s prefix=$1/usr/local install 
>         ^^^^^^^^^^^^^^^^^^^
> make -s distclean
> 
> However, libasound is installed to /usr/lib.
> 
> Why is prefix being ignored?  What is the correct way to cross compile
> alsa-lib?

OK I have resolved this by moving prefix from the install line to
the ./configure line.

Lee

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-06 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 20:46 Cross compile bug? Lee Revell
2006-06-06 21:41 ` Lee Revell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.