From: Adrian McMenamin Subject: Re: Static versus shared builds of alsa-utils Date: Mon, 1 Sep 2003 20:30:43 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <200309012030.43931.adrian@mcmen.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Monday 01 September 2003 11:27, Clemens Ladisch wrote: > Adrian McMenamin wrote: > > > Do the compiler flags include --static? Maybe you can add this flag= by > > > setting CFLAGS explicitly when ./configure-ing. > > > > Exactly, but how? > > CC=3Dsh-linux-gcc CFLAGS=3D--static ./configure --xxx=3D... > > OK, this works great for the alsa-utils, but I have now discovered that m= any=20 of the tools installed by alsa-lib are not properly built static even whe= n I=20 follow the instructions in the INSTALL file ----- For instance: /usr/bin # ./alsalisp =2E/alsalisp: No such file or directory I have configured the sources for building thus: CC=3Dsh-linux-gcc ./configure --enable-shared=3Dno --enable-static=3Dyes=20 --host=3Dsh-linux --prefix=3D/home/Adrian/dc-down/initrd/usr Adding in CFLAGS=3D--static causes the build to fail. So any clues on this one? Adrian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf