From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Cross Compile Problems Date: Wed, 10 Nov 2004 10:52:53 +0100 Message-ID: References: <418FEF0E.8080304@fetron.de> <4191C315.7050206@fetron.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <4191C315.7050206@fetron.de> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Klaus Fetscher Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 10 Nov 2004 08:28:21 +0100, Klaus Fetscher wrote: > > > >>I want to use ALSA for my ARM based custom board, but I have the > >>following problems. > >> > >>- I am using a NFS-Root Filesystem for my embedded hardware. I have > >>cross compiled the alsa-lib and the alsa-utils with the > >>"--PREFIX=/tftpboot/acc-rootfs" . The root filesystem is mounted below > >>"/tftpboot/acc-rootfs". When I start the mixer, he want to load the file > >>"alsa.conf" with the complete path > >>"/tftpboot/acc-rootfs/share/alsa/alsa.conf" . The problem is, that the > >>correct path for the ARM CPU is only "/share/alsa/alsa.conf" . Are there > >>any options to solve this problem ? > >> > >> > > > >You can specify datadir, libdir, etc with configure options to > >override the default values. > > > > > > > If I specify datadir or libdir, some files will be installed into that > directory. So is it necessary to copy these files manual to the exported > NFS directory ? Hmm, I'm not clear why prefix must be specified in your case. If you set up the cross compiling environment, usually prefix isn't needed but you just need to specify the proper compiler, etc. And, installing to other root system will be done by adding "DESTDIR=xxx" at make install. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click