From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Cross compile bug? Date: Tue, 06 Jun 2006 16:46:01 -0400 Message-ID: <1149626761.4072.65.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel List-Id: alsa-devel@alsa-project.org 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