Re: Cross compile bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux